i remember that error, i encountered it too when setting up the environment. I can’t really recall what it was though, can you post the whole console log and the problem section as well?
Description Resource Path Location Type
make[2]: *** […/…/…/libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 127 openFrameworks C/C++ Problem
make[1]: *** [Debug] Error 2 openFrameworks C/C++ Problem
make: *** [all] Error 2 openFrameworks C/C++ Problem
and one warning
Description Resource Path Location Type
Invalid project path: Duplicate path entries found (/openFrameworks [Output path]), path: [/openFrameworks]. openFrameworks pathentry Path Entry Problem
Thanks for the help! I’m compiling now on Mavericks with NDK r9b.
Regarding the darwin-x86 vs darwin-x86_64 naming convention, I found that there is no need to change the directory name in the Android NDK.
Just do a global find/replace for “HOST_PLATFORM = darwin-x86” and change to “HOST_PLATFORM = darwin-x86_64”. (effectively adding the “_64” to HOST_PLATFORM env variable)
I only had to change 2 occurrences across 2 make files.
I got the same problem:
/bin/sh: /toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory
and i tried renaming the folder, didnt work, still got the same error. I change the GCC_VERSION to i migth add. Anyone got any ideas ?
I also have this problem. The error that pops up when I try to compile the android empty example
Program “/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++” not found in PATH . I don’t know why it’s trying to find linux-x86_64 given that I followed all the instructions for osx (i’m running 10.10.4) I found that folder and changed the name from “darwin-x86_64” to “linux-x86_64,” but it had no effect. I know this is an old thread, but any thoughts about this would be super helpful.