gamekit-developers / gamekit

See http://gamekit.org or http://gamekit.googlecode.com A basic cross-platform 3D game engine around Lua, Bullet, .blend files, Ogre or Irrlicht.
248 stars 75 forks source link

A pull request: fix Android building error on macOSX #10

Closed GerrieWell closed 8 years ago

GerrieWell commented 8 years ago

I have followed this page Building · gamekit-developers/gamekit Wiki but using ndk r10c and OS X 10.11. It crush cmake error when running the second step ./configure-android /where_to_where_to_build_gamekit this work for me: ../CMake/toolchain/android.toolchain.cmake, 359 line

set( ANDROID_NDK_HOST_SYSTEM_NAME "darwin-x86" )

modify to

set( ANDROID_NDK_HOST_SYSTEM_NAME "darwin-x86_64" )
GerrieWell commented 8 years ago

Just hope you update the file.