[Ves] Building VES for Android on Mac OS X 10.7.5
Kevin Osborn
kevin.osborn at unswalumni.com
Fri Jun 21 20:34:53 EDT 2013
I am trying to build VES (current git) on Mac OS X 10.7.5, CMake 2.8.5, android NDK r8e (x86_64).
Make fails with multiple messages of the type
CMake Warning at /Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:318 (message):
Could not uniquely determine machine name for compiler from
/Users/kosborn/Documents/adt-bundle-mac-x86_64-20130219/android-ndk-r8e/toolchains/x86-clang3.1/prebuilt/darwin-x86.
Call Stack (most recent call first):
/Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:481 (__DETECT_TOOLCHAIN_MACHINE_NAME)
/Applications/CMake 2.8-5.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)
CMakeLists.txt:3 (project)
CMake Error at /Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:493 (message):
Could not any working toolchain in the NDK. Probably your Android NDK is
broken.
Call Stack (most recent call first):
/Applications/CMake 2.8-5.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)
CMakeLists.txt:3 (project)
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/Users/kosborn/Documents/ves/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/Users/kosborn/Documents/ves/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure] Error 1
make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2
make: *** [all] Error 2
Although the build instructions say that NDK r8b is needed, I can't find a Darwin x86_64 version. Are my problems due to an incompatible NDK? If so, can anyone point me to a copy of the correct NDK?
Thanks.
More information about the Ves
mailing list