Android NDK Include Eigen
I am trying to include the Eigen3 library in an Android project so I can do some Matrix math in native code. When I compile my project it complains: In file included from jni/Eigen
Solution 1:
The following resolved the aforementioned issue!
Create a file called
Application.mk
in the directoryprojet_dir/jni/
(so it isprojet_dir/jni/Application.mk
).Add the following line to that file
APP_STL:=stlport_static
If you run into a shared_ptr error, try using
APP_STL := gnustl_static
instead.
Post a Comment for "Android NDK Include Eigen"