sa0017 / angle

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

ndk-build error with android-ndk-r8d #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi ipajuelo,

Can you help me about the below errors? I checked out the code from trunk and 
ran ndk-build on cygwin.
Thank you very much!

Best Regards
--------------------------------------------------------------------------------
-------------------------
Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup       : libs/armeabi/gdb.setup
Compile++ thumb  : box2d <= JNIWrapper.cpp
In file included from 
H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/sys/types.h:33:0,
                 from H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/endian.h:81,
                 from jni/stl/stlport/stl/config/_linux.h:72,
                 from jni/stl/stlport/stl/config/_system.h:70,
                 from jni/stl/stlport/stl/config/features.h:94,
                 from jni/stl/stlport/stl/_prolog.h:18,
                 from jni/stl/stlport/stdarg.h:24,
                 from H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/jni.h:27,
                 from jni/JNIWrapper.cpp:1:
jni/stl/stlport/stddef.h:31:12: error: #include expects "FILENAME" or <FILENAME>
In file included from 
H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/stdint.h:31:0,
                 from H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/sys/types.h:34,
                 from H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/endian.h:81,
                 from jni/stl/stlport/stl/config/_linux.h:72,
                 from jni/stl/stlport/stl/config/_system.h:70,
                 from jni/stl/stlport/stl/config/features.h:94,
                 from jni/stl/stlport/stl/_prolog.h:18,
                 from jni/stl/stlport/stdarg.h:24,
                 from H:/android-ndk-r8d/platforms/android-3/arch-arm/usr/include/jni.h:27,
                 from jni/JNIWrapper.cpp:1:
jni/stl/stlport/stddef.h:31:12: error: #include expects "FILENAME" or <FILENAME>
In file included from jni/Box2D/Common/b2Settings.h:22:0,
                 from jni/Box2D/Box2D.h:34,
                 from jni/JNIWrapper.cpp:6:
jni/stl/stlport/cassert:25:48: fatal error: ../4.6.0/cassert: No such file or 
directory
compilation terminated.
/cygdrive/h/android-ndk-r8d/build/core/build-binary.mk:269: recipe for target 
`obj/local/armeabi/objs-debug/box2d/JNIWrapper.o' failed
make: *** [obj/local/armeabi/objs-debug/box2d/JNIWrapper.o] Error 1
--------------------------------------------------------------------------------
-------------------------

Original issue reported on code.google.com by jimmyagn...@gmail.com on 1 Feb 2013 at 10:35