<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Pat,<div><br></div><div>Thanks for the fast reply.</div><div><br></div><div>I have already found and tried the x86 version of r8b but it fails with the same error message (I didn't realise that r8e was the first x86_64 version). &nbsp;The current&nbsp;android.toolchain.cmake file is the one I have been using as I downloaded the source from git in the last 24 hours.</div><div><br></div><div>The&nbsp;__DETECT_TOOLCHAIN_MACHINE_NAME macro seems to fail as it traverses the various possible ndk toolchains. &nbsp;Unfortunately I don't know enough about bash to work out what the macro is doing.</div><div><br></div><div>Kevin</div><div><br></div><div><br><div><div>On 22/06/2013, at 11:00 AM, Pat Marion wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr"><div><div><div>Hi Kevin,<br><br></div>The r8b NDK is the supported version.&nbsp; Are you sure you need a x86_64 version?&nbsp; That's newly introduced in r8e.&nbsp; For r8b, the x86 download link is:<br><br><a href="http://dl.google.com/android/ndk/android-ndk-r8b-darwin-x86.tar.bz2">http://dl.google.com/android/ndk/android-ndk-r8b-darwin-x86.tar.bz2</a><br>

<br>If you want to try, you could get the latest android.toolchain.cmake file from:<br><br><a href="https://github.com/taka-no-me/android-cmake">https://github.com/taka-no-me/android-cmake</a><br><br></div>That file has been updated to support the x86_64 r8e NDK, but VES has not been tested with the new toolchain file.&nbsp; You could download the new version and replace it in VES, the copy in VES is located at:<br>

<br></div>CMake/toolchains/android.toolchain.cmake<br><br>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 8:34 PM, Kevin Osborn <span dir="ltr">&lt;<a href="mailto:kevin.osborn@unswalumni.com" target="_blank">kevin.osborn@unswalumni.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to build VES (current git) on Mac OS X 10.7.5, CMake 2.8.5, android NDK r8e (x86_64).<br>
<br>
Make fails with multiple messages of the type<br>
<br>
CMake Warning at /Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:318 (message):<br>
&nbsp; Could not uniquely determine machine name for compiler from<br>
&nbsp; /Users/kosborn/Documents/adt-bundle-mac-x86_64-20130219/android-ndk-r8e/toolchains/x86-clang3.1/prebuilt/darwin-x86.<br>
Call Stack (most recent call first):<br>
&nbsp; /Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:481 (__DETECT_TOOLCHAIN_MACHINE_NAME)<br>
&nbsp; /Applications/CMake 2.8-5.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)<br>
&nbsp; CMakeLists.txt:3 (project)<br>
<br>
CMake Error at /Users/kosborn/Documents/ves/VES/CMake/toolchains/android.toolchain.cmake:493 (message):<br>
&nbsp; Could not any working toolchain in the NDK. &nbsp;Probably your Android NDK is<br>
&nbsp; broken.<br>
Call Stack (most recent call first):<br>
&nbsp; /Applications/CMake 2.8-5.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)<br>
&nbsp; CMakeLists.txt:3 (project)<br>
<br>
<br>
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
CMAKE_C_COMPILER_ENV_VAR<br>
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
CMAKE_C_COMPILER<br>
CMake Error: Could not find cmake module file:/Users/kosborn/Documents/ves/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/CMakeCCompiler.cmake<br>
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
CMAKE_CXX_COMPILER_ENV_VAR<br>
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
CMAKE_CXX_COMPILER<br>
CMake Error: Could not find cmake module file:/Users/kosborn/Documents/ves/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/CMakeCXXCompiler.cmake<br>
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage<br>
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage<br>
-- Configuring incomplete, errors occurred!<br>
make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure] Error 1<br>
make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
Although the build instructions say that NDK r8b is needed, I can't find a Darwin x86_64 version. &nbsp;Are my problems due to an incompatible NDK? If so, can anyone point me to a copy of the correct NDK?<br>
<br>
Thanks.<br>
<br>
<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></body></html>