Hello,
I want to develop a Android app which should use a shared c++ library.
So i have created a new VisualGDB Android Project with the option “Create a new App with simple native library”. The App works well and i can execute the application on my android device.
Additionally i want to use an extern math library called “Eigen”. I have set the path to the library (sources) via include directories of the project and via VisualGDB Makefie (LOCAL_C_INCLUDES :=C:/Development/android/eigen-eigen-ffa86ffb5570) .
When i want to build the project i get some errors:
Error 2 error : unknown type name ‘namespace’ C:Developmentandroideigen-eigen-ffa86ffb5570Eigen\srcCoreutilMacros.h 172 6 SpeechRecognizer
Error 3 error : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{‘ token C:Developmentandroideigen-eigen-ffa86ffb5570Eigen\srcCoreutilMacros.h 172 22 SpeechRecognizer
Error 4 error : complex: No such file or directory C:Developmentandroideigen-eigen-ffa86ffb5570Eigen\Core 28 20 SpeechRecognizer
Do you know a solution for the problem? Is there a tutorial for adding external c++ librariers?
Best Regards,
Thomas