Hi, I try to compile osg for Android from Windows 7
I use cygwin 3.82.90 , android-ndk-r8 , and i try android-ndk-r8b too. I use Cmake - gui and i think that work fine,(I put the result later). But when i do make i have error. Some One Can help me Please!!! Cmake Console: Warning Android Build is in debug mode Android NDK found in: D:/NVPACK/android-ndk-r8 Jpeg found D:\projects\OpenSceneGraph-3.1.3\3rdpartyAndroid\3rdparty\libjpeg PNG found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/libpng GIF found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/giflib TIF found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/libtiff Curl found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/curl FREETYPE found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/freetype GDAL found D:/projects/OpenSceneGraph-3.1.3/3rdpartyAndroid/3rdparty/gdal ##############Creating Android Makefile################# name: OpenThreads ##############Creating Android Makefile################# name: osg ##############Creating Android Makefile################# name: osgDB ##############Creating Android Makefile################# name: osgUtil ##############Creating Android Makefile################# name: osgGA ##############Creating Android Makefile################# name: osgText Windowing system not supported ##############Creating Android Makefile################# name: osgViewer ##############Creating Android Makefile################# name: osgAnimation ##############Creating Android Makefile################# name: osgFX ##############Creating Android Makefile################# name: osgManipulator ##############Creating Android Makefile################# name: osgParticle ##############Creating Android Makefile################# name: osgPresentation ##############Creating Android Makefile################# name: osgShadow ##############Creating Android Makefile################# name: osgSim ##############Creating Android Makefile################# name: osgTerrain ##############Creating Android Makefile################# name: osgWidget ##############Creating Android Makefile################# name: osgVolume ##############Creating Android Makefile################# name: osgdb_serializers_osg ##############Creating Android Makefile################# name: osgdb_serializers_osganimation ##############Creating Android Makefile################# name: osgdb_serializers_osgfx ##############Creating Android Makefile################# name: osgdb_serializers_osgmanipulator ##############Creating Android Makefile################# name: osgdb_serializers_osgparticle ##############Creating Android Makefile################# name: osgdb_serializers_osgsim ##############Creating Android Makefile################# name: osgdb_serializers_osgshadow ##############Creating Android Makefile################# name: osgdb_serializers_osgterrain ##############Creating Android Makefile################# name: osgdb_serializers_osgtext ##############Creating Android Makefile################# name: osgdb_serializers_osgvolume ##############Creating Android Makefile################# name: osgdb_deprecated_osg ##############Creating Android Makefile################# name: osgdb_deprecated_osgparticle ##############Creating Android Makefile################# name: osgdb_deprecated_osganimation ##############Creating Android Makefile################# name: osgdb_deprecated_osgfx ##############Creating Android Makefile################# name: osgdb_deprecated_osgsim ##############Creating Android Makefile################# name: osgdb_deprecated_osgtext ##############Creating Android Makefile################# name: osgdb_deprecated_osgviewer ##############Creating Android Makefile################# name: osgdb_deprecated_osgshadow ##############Creating Android Makefile################# name: osgdb_deprecated_osgterrain ##############Creating Android Makefile################# name: osgdb_deprecated_osgvolume ##############Creating Android Makefile################# name: osgdb_deprecated_osgwidget ##############Creating Android Makefile################# name: osgdb_osga ##############Creating Android Makefile################# name: osgdb_rot ##############Creating Android Makefile################# name: osgdb_scale ##############Creating Android Makefile################# name: osgdb_trans ##############Creating Android Makefile################# name: osgdb_normals ##############Creating Android Makefile################# name: osgdb_revisions ##############Creating Android Makefile################# name: osgdb_osgviewer ##############Creating Android Makefile################# name: osgdb_osgshadow ##############Creating Android Makefile################# name: osgdb_osgterrain ##############Creating Android Makefile################# name: osgdb_osg ##############Creating Android Makefile################# name: osgdb_ive ##############Creating Android Makefile################# name: osgdb_cfg ##############Creating Android Makefile################# name: osgdb_glsl ##############Creating Android Makefile################# name: osgdb_rgb ##############Creating Android Makefile################# name: osgdb_bmp ##############Creating Android Makefile################# name: osgdb_pnm ##############Creating Android Makefile################# name: osgdb_dds ##############Creating Android Makefile################# name: osgdb_tga ##############Creating Android Makefile################# name: osgdb_hdr ##############Creating Android Makefile################# name: osgdb_dot ##############Creating Android Makefile################# name: osgdb_vtf ##############Creating Android Makefile################# name: osgdb_jpeg ##############Creating Android Makefile################# name: osgdb_gif ##############Creating Android Makefile################# name: osgdb_png ##############Creating Android Makefile################# name: osgdb_tiff ##############Creating Android Makefile################# name: osgdb_gdal ##############Creating Android Makefile################# name: osgdb_ogr ##############Creating Android Makefile################# name: osgdb_3dc ##############Creating Android Makefile################# name: osgdb_p3d ##############Creating Android Makefile################# name: osgdb_curl ##############Creating Android Makefile################# name: osgdb_dw ##############Creating Android Makefile################# name: osgdb_bvh ##############Creating Android Makefile################# name: osgdb_x ##############Creating Android Makefile################# name: osgdb_dxf ##############Creating Android Makefile################# name: osgdb_openflight ##############Creating Android Makefile################# name: osgdb_geo ##############Creating Android Makefile################# name: osgdb_obj ##############Creating Android Makefile################# name: osgdb_pic ##############Creating Android Makefile################# name: osgdb_stl ##############Creating Android Makefile################# name: osgdb_ac ##############Creating Android Makefile################# name: osgdb_pov ##############Creating Android Makefile################# name: osgdb_logo ##############Creating Android Makefile################# name: osgdb_lws ##############Creating Android Makefile################# name: osgdb_md2 ##############Creating Android Makefile################# name: osgdb_osgtgz ##############Creating Android Makefile################# name: osgdb_tgz ##############Creating Android Makefile################# name: osgdb_shp ##############Creating Android Makefile################# name: osgdb_txf ##############Creating Android Makefile################# name: osgdb_bsp ##############Creating Android Makefile################# name: osgdb_mdl ##############Creating Android Makefile################# name: osgdb_lwo ##############Creating Android Makefile################# name: osgdb_ply ##############Creating Android Makefile################# name: osgdb_txp ##############Creating Android Makefile################# name: osgdb_freetype ##############Creating Android Makefile################# name: osgdb_pvr Creating Android Makefile Master files Configuring done =============================================== ariel@ariel-PC /cygdrive/d/projects/OpenSceneGraph-3.1.3/OpenSceneGraph-3.1.3 $ make [100%] Generating Android-OpenSceneGraph HOST_OS=cygwin HOST_ARCH=x86 HOST_TAG=cygwin-x86 GNUMAKE=/usr/bin/make (system path) Cygwin-compatible GNU make detected Android NDK: NDK installation path auto-detected: '/cygdrive/d/NVPACK/android-ndk-r8' Android NDK: GNU Make version 3.82.90 detected Android NDK: Host OS was auto-detected: windows Android NDK: Found /bin/uname.exe on Windows host Android NDK: uname -s returned: CYGWIN_NT-6.1-WOW64 Android NDK: Cygwin detected: CYGWIN_NT-6.1-WOW64 ariel-PC 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin Android NDK: Host operating system detected: cygwin Android NDK: Host CPU was auto-detected: x86 Android NDK: HOST_TAG set to windows Android NDK: Host tools prebuilt directory: /cygdrive/d/NVPACK/android-ndk-r8/prebuilt/windows/bin Android NDK: Host 'echo' tool: /cygdrive/d/NVPACK/android-ndk-r8/prebuilt/windows/bin/echo Android NDK: Host 'awk' tool: awk Android NDK: Host 'awk' test returned: Pass Android NDK: Probing for 'cygpath' program Android NDK: 'cygpath' found as: /usr/bin/cygpath Using cygwin substitution rules: /cygdrive/r => R: /cygdrive/f => F: /cygdrive/d => D: /cygdrive/c => C: /cygdrive/R => R: /cygdrive/F => F: /cygdrive/D => D: /cygdrive/C => C: /usr/lib => D:/NVPACK/cygwin/lib /usr/bin => D:/NVPACK/cygwin/bin / => D:/NVPACK/cygwin Android NDK: This NDK supports the following target architectures and ABIS: Android NDK: arm: armeabi armeabi-v7a Android NDK: mips: mips Android NDK: x86: x86 Android NDK: This NDK supports the following toolchains and target ABIs: Android NDK: arm-linux-androideabi-4.4.3: armeabi armeabi-v7a Android NDK: mipsel-linux-android-4.4.3: mips Android NDK: x86-4.4.3: x86 Android NDK: Found platform root directory: /cygdrive/d/NVPACK/android-ndk-r8/platforms Android NDK: Found supported platforms: android-4 android-3 android-14 android-8 android-9 android-5 Android NDK: PLATFORM android-4 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-4/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-4/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-4/arch-mips Android NDK: PLATFORM android-3 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-3/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-3/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-3/arch-mips Android NDK: PLATFORM android-14 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-14/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-14/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-14/arch-mips Android NDK: PLATFORM android-8 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-8/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-8/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-8/arch-mips Android NDK: PLATFORM android-9 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-9/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-9/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-9/arch-mips Android NDK: PLATFORM android-5 supports: x86 arm mips Android NDK: ABI x86 sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-5/arch-x86 Android NDK: ABI arm sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-5/arch-arm Android NDK: ABI mips sysroot is: /cygdrive/d/NVPACK/android-ndk-r8/platforms/android-5/arch-mips Android NDK: Found stable platform levels: 4 3 14 8 9 5 Android NDK: Found max platform level: 14 Android NDK: Found project path: . Android NDK: Ouput path: ./obj Android NDK: Parsing Application.mk Android NDK: Application local targets unknown platform '8' Android NDK: Switching to android-14 Android NDK: Using build script ./Android.mk Android NDK: Application 'local' is not debuggable Android NDK: Selecting optimization mode through Application.mk: debug Android NDK: Adding import directory: /cygdrive/d/NVPACK/android-ndk-r8/sources Android NDK: Building application 'local' for ABI 'armeabi-v7a' Android NDK: Using target toolchain 'arm-linux-androideabi-4.4.3' for 'armeabi-v7a' ABI Android NDK: Looking for imported module with tag 'cxx-stl/gnu-libstdc++' Android NDK: Probing /cygdrive/d/NVPACK/android-ndk-r8/sources/cxx-stl/gnu-libstdc++/Android.mk Android NDK: Found in /cygdrive/d/NVPACK/android-ndk-r8/sources/cxx-stl/gnu-libstdc++ Android NDK: Module 'OpenThreads' has C++ sources Android NDK: Module 'osg' has C++ sources Android NDK: Module 'osgAnimation' has C++ sources Android NDK: Module 'osgDB' has C++ sources Android NDK: Module 'osgFX' has C++ sources Android NDK: Module 'osgGA' has C++ sources Android NDK: Module 'osgManipulator' has C++ sources Android NDK: Module 'osgParticle' has C++ sources Android NDK: Module 'osgPresentation' has C++ sources Android NDK: Module 'osgShadow' has C++ sources Android NDK: Module 'osgSim' has C++ sources Android NDK: Module 'osgTerrain' has C++ sources Android NDK: Module 'osgText' has C++ sources Android NDK: Module 'osgUtil' has C++ sources Android NDK: Module 'osgViewer' has C++ sources Android NDK: Module 'osgVolume' has C++ sources Android NDK: Module 'osgWidget' has C++ sources Android NDK: Module 'osgdb_3dc' has C++ sources Android NDK: Module 'osgdb_ac' has C++ sources Android NDK: Module 'osgdb_bmp' has C++ sources Android NDK: Module 'osgdb_bsp' has C++ sources Android NDK: Module 'osgdb_bvh' has C++ sources Android NDK: Module 'osgdb_cfg' has C++ sources Android NDK: Module 'osgdb_curl' has C++ sources Android NDK: Module 'osgdb_dds' has C++ sources Android NDK: Module 'osgdb_deprecated_osg' has C++ sources Android NDK: Module 'osgdb_deprecated_osganimation' has C++ sources Android NDK: Module 'osgdb_deprecated_osgfx' has C++ sources Android NDK: Module 'osgdb_deprecated_osgparticle' has C++ sources Android NDK: Module 'osgdb_deprecated_osgshadow' has C++ sources Android NDK: Module 'osgdb_deprecated_osgsim' has C++ sources Android NDK: Module 'osgdb_deprecated_osgterrain' has C++ sources Android NDK: Module 'osgdb_deprecated_osgtext' has C++ sources Android NDK: Module 'osgdb_deprecated_osgviewer' has C++ sources Android NDK: Module 'osgdb_deprecated_osgvolume' has C++ sources Android NDK: Module 'osgdb_deprecated_osgwidget' has C++ sources Android NDK: Module 'osgdb_dot' has C++ sources Android NDK: Module 'osgdb_dw' has C++ sources Android NDK: Module 'osgdb_dxf' has C++ sources Android NDK: Module 'osgdb_freetype' has C++ sources Android NDK: Module 'osgdb_gdal' has C++ sources Android NDK: Module 'osgdb_geo' has C++ sources Android NDK: Module 'osgdb_gif' has C++ sources Android NDK: Module 'osgdb_glsl' has C++ sources Android NDK: Module 'osgdb_hdr' has C++ sources Android NDK: Module 'osgdb_ive' has C++ sources Android NDK: Module 'osgdb_jpeg' has C++ sources Android NDK: Module 'osgdb_logo' has C++ sources Android NDK: Module 'osgdb_lwo' has C++ sources Android NDK: Module 'osgdb_lws' has C++ sources Android NDK: Module 'osgdb_md2' has C++ sources Android NDK: Module 'osgdb_mdl' has C++ sources Android NDK: Module 'osgdb_normals' has C++ sources Android NDK: Module 'osgdb_obj' has C++ sources Android NDK: Module 'osgdb_ogr' has C++ sources Android NDK: Module 'osgdb_openflight' has C++ sources Android NDK: Module 'osgdb_osg' has C++ sources Android NDK: Module 'osgdb_osga' has C++ sources Android NDK: Module 'osgdb_osgshadow' has C++ sources Android NDK: Module 'osgdb_osgterrain' has C++ sources Android NDK: Module 'osgdb_osgtgz' has C++ sources Android NDK: Module 'osgdb_osgviewer' has C++ sources Android NDK: Module 'osgdb_p3d' has C++ sources Android NDK: Module 'osgdb_pic' has C++ sources Android NDK: Module 'osgdb_ply' has C++ sources Android NDK: Module 'osgdb_png' has C++ sources Android NDK: Module 'osgdb_pnm' has C++ sources Android NDK: Module 'osgdb_pov' has C++ sources Android NDK: Module 'osgdb_pvr' has C++ sources Android NDK: Module 'osgdb_revisions' has C++ sources Android NDK: Module 'osgdb_rgb' has C++ sources Android NDK: Module 'osgdb_rot' has C++ sources Android NDK: Module 'osgdb_scale' has C++ sources Android NDK: Module 'osgdb_serializers_osg' has C++ sources Android NDK: Module 'osgdb_serializers_osganimation' has C++ sources Android NDK: Module 'osgdb_serializers_osgfx' has C++ sources Android NDK: Module 'osgdb_serializers_osgmanipulator' has C++ sources Android NDK: Module 'osgdb_serializers_osgparticle' has C++ sources Android NDK: Module 'osgdb_serializers_osgshadow' has C++ sources Android NDK: Module 'osgdb_serializers_osgsim' has C++ sources Android NDK: Module 'osgdb_serializers_osgterrain' has C++ sources Android NDK: Module 'osgdb_serializers_osgtext' has C++ sources Android NDK: Module 'osgdb_serializers_osgvolume' has C++ sources Android NDK: Module 'osgdb_shp' has C++ sources Android NDK: Module 'osgdb_stl' has C++ sources Android NDK: Module 'osgdb_tga' has C++ sources Android NDK: Module 'osgdb_tgz' has C++ sources Android NDK: Module 'osgdb_tiff' has C++ sources Android NDK: Module 'osgdb_trans' has C++ sources Android NDK: Module 'osgdb_txf' has C++ sources Android NDK: Module 'osgdb_txp' has C++ sources Android NDK: Module 'osgdb_vtf' has C++ sources Android NDK: Module 'osgdb_x' has C++ sources Android NDK: WARNING: Invalid LOCAL_CPP_EXTENSION values: cpp /cygdrive/d/NVPACK/android-ndk-r8/build/core/build-binary.mk:243: *** target pattern contains no `%'. Stop. CMakeFiles/ndk.dir/build.make:55: recipe for target `Android-OpenSceneGraph' failed make[2]: *** [Android-OpenSceneGraph] Error 2 CMakeFiles/Makefile2:63: recipe for target `CMakeFiles/ndk.dir/all' failed make[1]: *** [CMakeFiles/ndk.dir/all] Error 2 Makefile:116: recipe for target `all' failed make: *** [all] Error 2 =============================================== Thank you! Cheers, Ariel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50553#50553 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

