I need an IDE that must:
- allow running the ~/android-ndk-r7/ndk-build script for
compilation; - intercept the gcc output and show it to me;
- when I click on an error line, go to error location: open the mentioned file at the mentioned line.
I have a large existing C++ project and am porting it to Android/NDK.
(Neither Code::Blocks nor Eclipse do the 3rd. Maybe I am missing something?)
I configured Code::Blocks for Android NDK/JNI development, but there’s a trick.
Codeblocks believes that it can know what compiler you use, and wants to stop you from using something it does not know. You have to trick it.
(EDIT: First go to Properties and specify it’s a custom Makefile, then to Build options)
-j 4)And one final note: if your configuration does not work, you get no meaningful diagnostics.
PS Here’s my Makefile: