Setting up C++11 (std::thread) for NDK with ADT/Eclipse

前端 未结 3 1230
心在旅途
心在旅途 2020-12-19 03:33

I have been trying to use C++11. I am developing an android project and i want to use std::mutex. Along with OpenCV But no matter what I do, I just cant seem to fix the

3条回答
  •  独厮守ぢ
    2020-12-19 04:29

    In Android.mk add LOCAL_CPPFLAGS := -std=c++11 -D __cplusplus=201103L then rebuild your project (for reconfiguring compiler). After rebuilding, your project automatically adds needed stl path into Path and Symbols

提交回复
热议问题