Forum Replies Created
-
AuthorPosts
-
robiwan
ParticipantThanks, I’m now having a problem. VisualGDB seems to include a lot of c/cpp files that are not present in the solution, leading to a lot of multiply defined symbols, the ones I have problems with are related to googletest/googlemock. F.i. I have
1>[armeabi-v7a] Compile++ thumb: AndroidProject1 <= gmock-all.cc
but gmock-all.cc is nowhere to be found in the solution folder, but it is present in the Android.mk file, which is generated by VisualGDB.
robiwan
ParticipantOk, imported all files, now I seem to have a problem with all STL #include <…> directives, adding #include <algorithm> gives:
1>C:\Users\robi\source\repos\AndroidProject1\AndroidProject1\jni\AndroidProject1.c(3,10): error : ‘algorithm’ file not found
Ideas ?
EDIT: Ok, I missed to set toolchain and c++ library 🙂
robiwan
ParticipantThanks, there are a lot of files to add though, that’s why I was hoping for CMake support 🙂 Is this planned for the future ?
robiwan
ParticipantIn this case a stand-alone command-line Android tool (built in C++), I’m also interested in setting up unit tests, but that’s later.
robiwan
ParticipantOk, sounds interesting, although I’m not sure how to (don’t know which Android project type I need to select f.i.), can you show roughly the steps I need to take ?
robiwan
Participant+1…
robiwan
Participant+1…
-
AuthorPosts