Open degenet opened 10 years ago
I'm having trouble in both Windows and MacOSX (Mountain Lion) with NDK 9c. Running the ndk-build command inside the project dir outputs the following to the console:
process_begin: CreateProcess(NULL, rm -r jni/../assets/www/shaders, ...) failed. process_begin: CreateProcess(NULL, cp -r jni/../../../sources/ejecta/EJCanvas/Shaders jni/../assets/www/shaders, ...) failed. Android NDK: WARNING:jni/../../../library/android/JavaScriptCore/Android.mk:ejecta: non-system libraries in linker flags: -lfreetype -lpng -ljpeg -lcu rl Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module C:/eclipse/android-ndk/build/core/build-binary.mk:603: warning: overriding commands for target obj/local/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for targetobj/local/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: overriding commands for target libs/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for targetlibs/armeabi/libJavaScriptCore.so' process_begin: CreateProcess(NULL, rm -r jni/../assets/www/shaders, ...) failed. process_begin: CreateProcess(NULL, cp -r jni/../../../sources/ejecta/EJCanvas/Shaders jni/../assets/www/shaders, ...) failed. Android NDK: WARNING:jni/../../../library/android/JavaScriptCore/Android.mk:ejecta: non-system libraries in linker flags: -lfreetype -lpng -ljpeg -lcu rl Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module C:/eclipse/android-ndk/build/core/build-binary.mk:603: warning: overriding commands for target obj/local/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for targetobj/local/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: overriding commands for target libs/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for targetlibs/armeabi-v7a/libJavaScriptCore.so' [armeabi] Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver [armeabi] Gdbsetup : libs/armeabi/gdb.setup [armeabi-v7a] Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver [armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup [armeabi] Prebuilt : libJavaScriptCore.so <= jni/../../../library/android/JavaScriptCore/libs/armeabi/ [armeabi] Install : libJavaScriptCore.so => libs/armeabi/libJavaScriptCore.so [armeabi] Compile++ thumb: ejecta <= lodefreetype.cpp [armeabi] Compile++ thumb: ejecta <= lodepng.cpp [armeabi] Compile++ thumb: ejecta <= lodejpeg.cpp [armeabi] Compile++ thumb: ejecta <= nsCArray.cpp [armeabi] Compile++ thumb: ejecta <= NSObject.cpp [armeabi] Compile++ thumb: ejecta <= NSObjectFactory.cpp [armeabi] Compile++ thumb: ejecta <= NSGeometry.cpp [armeabi] Compile++ thumb: ejecta <= NSAutoreleasePool.cpp [armeabi] Compile++ thumb: ejecta <= NSArray.cpp [armeabi] Compile++ thumb: ejecta <= CGAffineTransform.cpp [armeabi] Compile++ thumb: ejecta <= NSDictionary.cpp [armeabi] Compile++ thumb: ejecta <= NSNS.cpp [armeabi] Compile++ thumb: ejecta <= NSSet.cpp [armeabi] Compile++ thumb: ejecta <= NSString.cpp [armeabi] Compile++ thumb: ejecta <= NSValue.cpp [armeabi] Compile++ thumb: ejecta <= NSZone.cpp [armeabi] Compile++ thumb: ejecta <= NSCache.cpp [armeabi] Compile++ thumb: ejecta <= EJApp.cpp [armeabi] Compile++ thumb: ejecta <= EJConvert.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingBase.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingEjectaCore.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingEventedBase.cpp [armeabi] Compile++ thumb: ejecta <= EJSharedOpenGLContext.cpp [armeabi] Compile++ thumb: ejecta <= EJTimer.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingAudio.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingImage.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingImageData.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingCanvas.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContext.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContextScreen.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContextTexture.cpp [armeabi] Compile++ thumb: ejecta <= EJPath.cpp [armeabi] Compile++ thumb: ejecta <= EJTexture.cpp [armeabi] Compile++ thumb: ejecta <= EJFont.cpp [armeabi] Compile++ thumb: ejecta <= EJGLProgram2D.cpp [armeabi] Compile++ thumb: ejecta <= EJImageData.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingHttpRequest.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingLocalStorage.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingTouchInput.cpp [armeabi] Compile++ thumb: ejecta <= ejecta.cpp [armeabi] SharedLibrary : libejecta.so [armeabi] Install : libejecta.so => libs/armeabi/libejecta.so [armeabi-v7a] Prebuilt : libJavaScriptCore.so <= jni/../../../library/android/JavaScriptCore/libs/armeabi-v7a/ [armeabi-v7a] Install : libJavaScriptCore.so => libs/armeabi-v7a/libJavaScriptCore.so [armeabi-v7a] Compile++ thumb: ejecta <= lodefreetype.cpp [armeabi-v7a] Compile++ thumb: ejecta <= lodepng.cpp [armeabi-v7a] Compile++ thumb: ejecta <= lodejpeg.cpp [armeabi-v7a] Compile++ thumb: ejecta <= nsCArray.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSObject.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSObjectFactory.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSGeometry.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSAutoreleasePool.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSArray.cpp [armeabi-v7a] Compile++ thumb: ejecta <= CGAffineTransform.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSDictionary.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSNS.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSSet.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSString.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSValue.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSZone.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSCache.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJApp.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJConvert.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingBase.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingEjectaCore.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingEventedBase.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJSharedOpenGLContext.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJTimer.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingAudio.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingImage.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingImageData.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingCanvas.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContext.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContextScreen.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContextTexture.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJPath.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJTexture.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJFont.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJGLProgram2D.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJImageData.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingHttpRequest.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingLocalStorage.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingTouchInput.cpp [armeabi-v7a] Compile++ thumb: ejecta <= ejecta.cpp [armeabi-v7a] SharedLibrary : libejecta.so C:/eclipse/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-and roideabi/bin/ld.exe: warning: cannot scan executable section 4 of jni/../../../library/android/libjpeg/libs/armeabi-v7a/libjpeg.a(jdapimin.o) for Cort ex-A8 erratum because it has no mapping symbols.
obj/local/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for target
libs/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for target
obj/local/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for target
libs/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for target
Am I doing something wrong?
@degenet Can you confirm this is the same output for Windows AND MacOS X?
I'm having trouble in both Windows and MacOSX (Mountain Lion) with NDK 9c. Running the ndk-build command inside the project dir outputs the following to the console:
process_begin: CreateProcess(NULL, rm -r jni/../assets/www/shaders, ...) failed. process_begin: CreateProcess(NULL, cp -r jni/../../../sources/ejecta/EJCanvas/Shaders jni/../assets/www/shaders, ...) failed. Android NDK: WARNING:jni/../../../library/android/JavaScriptCore/Android.mk:ejecta: non-system libraries in linker flags: -lfreetype -lpng -ljpeg -lcu rl Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module C:/eclipse/android-ndk/build/core/build-binary.mk:603: warning: overriding commands for target
obj/local/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for target
obj/local/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: overriding commands for targetlibs/armeabi/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for target
libs/armeabi/libJavaScriptCore.so' process_begin: CreateProcess(NULL, rm -r jni/../assets/www/shaders, ...) failed. process_begin: CreateProcess(NULL, cp -r jni/../../../sources/ejecta/EJCanvas/Shaders jni/../assets/www/shaders, ...) failed. Android NDK: WARNING:jni/../../../library/android/JavaScriptCore/Android.mk:ejecta: non-system libraries in linker flags: -lfreetype -lpng -ljpeg -lcu rl Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module C:/eclipse/android-ndk/build/core/build-binary.mk:603: warning: overriding commands for targetobj/local/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:579: warning: ignoring old commands for target
obj/local/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: overriding commands for targetlibs/armeabi-v7a/libJavaScriptCore.so' C:/eclipse/android-ndk/build/core/build-binary.mk:622: warning: ignoring old commands for target
libs/armeabi-v7a/libJavaScriptCore.so' [armeabi] Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver [armeabi] Gdbsetup : libs/armeabi/gdb.setup [armeabi-v7a] Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver [armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup [armeabi] Prebuilt : libJavaScriptCore.so <= jni/../../../library/android/JavaScriptCore/libs/armeabi/ [armeabi] Install : libJavaScriptCore.so => libs/armeabi/libJavaScriptCore.so [armeabi] Compile++ thumb: ejecta <= lodefreetype.cpp [armeabi] Compile++ thumb: ejecta <= lodepng.cpp [armeabi] Compile++ thumb: ejecta <= lodejpeg.cpp [armeabi] Compile++ thumb: ejecta <= nsCArray.cpp [armeabi] Compile++ thumb: ejecta <= NSObject.cpp [armeabi] Compile++ thumb: ejecta <= NSObjectFactory.cpp [armeabi] Compile++ thumb: ejecta <= NSGeometry.cpp [armeabi] Compile++ thumb: ejecta <= NSAutoreleasePool.cpp [armeabi] Compile++ thumb: ejecta <= NSArray.cpp [armeabi] Compile++ thumb: ejecta <= CGAffineTransform.cpp [armeabi] Compile++ thumb: ejecta <= NSDictionary.cpp [armeabi] Compile++ thumb: ejecta <= NSNS.cpp [armeabi] Compile++ thumb: ejecta <= NSSet.cpp [armeabi] Compile++ thumb: ejecta <= NSString.cpp [armeabi] Compile++ thumb: ejecta <= NSValue.cpp [armeabi] Compile++ thumb: ejecta <= NSZone.cpp [armeabi] Compile++ thumb: ejecta <= NSCache.cpp [armeabi] Compile++ thumb: ejecta <= EJApp.cpp [armeabi] Compile++ thumb: ejecta <= EJConvert.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingBase.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingEjectaCore.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingEventedBase.cpp [armeabi] Compile++ thumb: ejecta <= EJSharedOpenGLContext.cpp [armeabi] Compile++ thumb: ejecta <= EJTimer.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingAudio.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingImage.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingImageData.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingCanvas.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContext.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContextScreen.cpp [armeabi] Compile++ thumb: ejecta <= EJCanvasContextTexture.cpp [armeabi] Compile++ thumb: ejecta <= EJPath.cpp [armeabi] Compile++ thumb: ejecta <= EJTexture.cpp [armeabi] Compile++ thumb: ejecta <= EJFont.cpp [armeabi] Compile++ thumb: ejecta <= EJGLProgram2D.cpp [armeabi] Compile++ thumb: ejecta <= EJImageData.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingHttpRequest.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingLocalStorage.cpp [armeabi] Compile++ thumb: ejecta <= EJBindingTouchInput.cpp [armeabi] Compile++ thumb: ejecta <= ejecta.cpp [armeabi] SharedLibrary : libejecta.so [armeabi] Install : libejecta.so => libs/armeabi/libejecta.so [armeabi-v7a] Prebuilt : libJavaScriptCore.so <= jni/../../../library/android/JavaScriptCore/libs/armeabi-v7a/ [armeabi-v7a] Install : libJavaScriptCore.so => libs/armeabi-v7a/libJavaScriptCore.so [armeabi-v7a] Compile++ thumb: ejecta <= lodefreetype.cpp [armeabi-v7a] Compile++ thumb: ejecta <= lodepng.cpp [armeabi-v7a] Compile++ thumb: ejecta <= lodejpeg.cpp [armeabi-v7a] Compile++ thumb: ejecta <= nsCArray.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSObject.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSObjectFactory.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSGeometry.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSAutoreleasePool.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSArray.cpp [armeabi-v7a] Compile++ thumb: ejecta <= CGAffineTransform.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSDictionary.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSNS.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSSet.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSString.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSValue.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSZone.cpp [armeabi-v7a] Compile++ thumb: ejecta <= NSCache.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJApp.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJConvert.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingBase.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingEjectaCore.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingEventedBase.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJSharedOpenGLContext.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJTimer.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingAudio.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingImage.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingImageData.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingCanvas.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContext.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContextScreen.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJCanvasContextTexture.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJPath.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJTexture.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJFont.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJGLProgram2D.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJImageData.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingHttpRequest.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingLocalStorage.cpp [armeabi-v7a] Compile++ thumb: ejecta <= EJBindingTouchInput.cpp [armeabi-v7a] Compile++ thumb: ejecta <= ejecta.cpp [armeabi-v7a] SharedLibrary : libejecta.so C:/eclipse/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-and roideabi/bin/ld.exe: warning: cannot scan executable section 4 of jni/../../../library/android/libjpeg/libs/armeabi-v7a/libjpeg.a(jdapimin.o) for Cort ex-A8 erratum because it has no mapping symbols.Am I doing something wrong?