简体   繁体   中英

Can't build C++ project with Android toolchain

I'm using Eclipse Luna on Windows 8 and trying to use an existing C++ project with Android. I have download the NDK and set the location in Window->Preferences->NDK

I'm getting many compile errors in the jni directory which are probably caused because of Unresolved inclusions (like stdio.h, string, jni.h etc).

The current toolchain is Android GCC. The path and symbols include some stuff from the NDK folder after I ran the ndk-build.cmd from inside the project's folder, but there probably some includes missing.

I'm not sure what else I need to do in order to build the project.

It seems that the problem was and still is with Eclipse itself. The build actually passed but Eclipse still for some reason showed errors which are not really errors and everything is actually working.

This is another proof that Visual Studio is SO much better than Eclipse...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM