lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

android build error from mac. #201

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[100%] Building CXX object 
Samples/AndroidDemo/Shared/CMakeFiles/ogrekit.dir/Main.cpp.o
[100%] Building CXX object 
Samples/AndroidDemo/Shared/CMakeFiles/ogrekit.dir/AndroidLogListener.cpp.o
Linking CXX shared library libogrekit.so
/bin/sh: arm-linux-androideabi-strip: command not found
make[2]: *** [Samples/AndroidDemo/Shared/libogrekit.so] Error 127
make[1]: *** [Samples/AndroidDemo/Shared/CMakeFiles/ogrekit.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by lin...@gmail.com on 12 Nov 2011 at 9:39

GoogleCodeExporter commented 9 years ago
Seems that the android's gcc-strip seems not to be in the path! But as you 
compiled everything the path seems to be right!? Try to locate the file in your 
ndk (what version do you use?). Go to the folder and type: 

find -name "arm-linux-androideabi-strip"

Hmm,...btw arm-linux-***  is that the right name for the mac's version?j

One problem I once had was that the path was not right and it pointed to 
something like this: .../prebuilt/linux-x86/... but somehow expected 
..../prebuilt/linux/...
It helped to create a symlink like this (not sure if that is the case with your 
problem but in case you can try this: ln -s linux-x86 linux

Original comment by thomas.t...@googlemail.com on 12 Nov 2011 at 1:17