<div dir="ltr">Jon,<br><br>I think the issue is that you need the xcode 5.1 update to the toolchain files. Have you tried this yet?<br><br>Thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 4:17 PM, Jon Chmura <span dir="ltr"><<a href="mailto:jon.chmura@me.com" target="_blank">jon.chmura@me.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI all,<br>
<br>
We installed CMake via the OSX .dmg. Version 2.8.12.2<br>
<br>
Jon Chmura<br>
<br>
On Mar 25, 2014, at 12:00 PM, <a href="mailto:ves-request@public.kitware.com">ves-request@public.kitware.com</a> wrote:<br>
<br>
> Send Ves mailing list submissions to<br>
> <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<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>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:ves-request@public.kitware.com">ves-request@public.kitware.com</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:ves-owner@public.kitware.com">ves-owner@public.kitware.com</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Ves digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Issues with CMake in VES build- Android and iOS - more<br>
> info (Casey Goodlett)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Tue, 25 Mar 2014 11:19:31 -0400<br>
> From: Casey Goodlett <<a href="mailto:casey.goodlett@kitware.com">casey.goodlett@kitware.com</a>><br>
> To: <a href="mailto:DEB63@pitt.edu">DEB63@pitt.edu</a><br>
> Cc: ves <<a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a>><br>
> Subject: Re: [Ves] Issues with CMake in VES build- Android and iOS -<br>
> more info<br>
> Message-ID:<br>
> <<a href="mailto:CAOqyOuGaM7atdODybhYGYAhOP6jzgz5Oi6kWHm_ykBgtN3WB-w@mail.gmail.com">CAOqyOuGaM7atdODybhYGYAhOP6jzgz5Oi6kWHm_ykBgtN3WB-w@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> How did you install cmake?<br>
><br>
> Can you start providing a dashboard build of VES?<br>
><br>
> I'll try to reproduce this on my xcode 5.1<br>
><br>
> Thank you<br>
><br>
><br>
> On Tue, Mar 25, 2014 at 9:48 AM, <<a href="mailto:DEB63@pitt.edu">DEB63@pitt.edu</a>> wrote:<br>
><br>
>> Hi again.<br>
>><br>
>> Some more information about this build issue. After trying this on an<br>
>> older Mac, the build worked fine. The only thing that I could find that<br>
>> appeared to be different between the two systems was the xcode versions.<br>
>> On the >older< setup/computer (that seems to build VES fine)>>><br>
>> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)<br>
>> On the >newer< setup/computer (that will not build VES)>>><br>
>> Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)<br>
>><br>
>> I am also on the same development team as Jon Chmura, who wrote the<br>
>> original post regarding the new build issue with VES and iOS. We have<br>
>> been discussing this.<br>
>><br>
>> Dave Busch<br>
>> <a href="mailto:deb63@pitt.edu">deb63@pitt.edu</a><br>
>><br>
>> ---------------------------- Original Message ----------------------------<br>
>> Subject: [Ves] [Fwd: Issues with CMake in VES build] - Additional build<br>
>> issue with Android<br>
>> From: <a href="mailto:DEB63@pitt.edu">DEB63@pitt.edu</a><br>
>> Date: Tue, March 25, 2014 08:21<br>
>> To: <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br>
>> --------------------------------------------------------------------------<br>
>><br>
>> Hi<br>
>><br>
>> I am getting similar issues when trying to build VES for Android, when<br>
>> following the same steps we have done in the past to build VES. What<br>
>> follows is an example of these errors. Note that this is with a fresh<br>
>> download of android-ndk-r8b...<br>
>><br>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><br>
>> daveb::dbox { ~ }-> git clone git://<a href="http://vtk.org/VES.git" target="_blank">vtk.org/VES.git</a><br>
>> Cloning into 'VES'...<br>
>> remote: Counting objects: 9923, done.<br>
>> remote: Compressing objects: 100% (3103/3103), done.<br>
>> remote: Total 9923 (delta 6674), reused 9830 (delta 6614)<br>
>> Receiving objects: 100% (9923/9923), 26.38 MiB | 2.84 MiB/s, done.<br>
>> Resolving deltas: 100% (6674/6674), done.<br>
>> Checking connectivity... done.<br>
>> daveb::dbox { ~ }-> cd VES<br>
>> daveb::dbox { ~/VES }-> cd apps<br>
>> daveb::dbox { ~/VES/apps }-> cd Android<br>
>> daveb::dbox { ~/VES/apps/Android }-> cd CMakeBuild<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> ls<br>
>> configure.cmake<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> ls<br>
>> configure.cmake<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> cmake -P configure.cmake<br>
>> -- Found PythonInterp: /usr/bin/python (found version "2.7.5")<br>
>> -- Found Git: /usr/bin/git (found version "1.8.5.2 (Apple Git-48)")<br>
>> -- Configuring done<br>
>> -- Generating done<br>
>> -- Build files have been written to:<br>
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> cd build<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild/build }-> make -j4<br>
>> Scanning dependencies of target vtk-host<br>
>> Scanning dependencies of target eigen<br>
>> [ 3%] [ 6%] Creating directories for 'eigen'<br>
>> Creating directories for 'vtk-host'<br>
>> [ 9%] [ 12%] Performing download step (download, verify and extract) for<br>
>> 'eigen'<br>
>> Performing download step (download, verify and extract) for 'vtk-host'<br>
>> -- downloading...<br>
>> .<br>
>> .<br>
>> . (thenI eventually get these errors after a while) >>><br>
>> .<br>
>> .<br>
>><br>
>> ...Scanning dependencies of target ProcessShader<br>
>> Scanning dependencies of target vtkHashSource<br>
>> [100%] [100%] Building CXX object<br>
>> Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.cxx.o<br>
>> Building CXX object<br>
>> Utilities/HashSource/CMakeFiles/vtkHashSource.dir/vtkHashSource.cxx.o<br>
>> Linking CXX executable ../../bin/vtkHashSource-6.0<br>
>> [100%] Built target vtkHashSource<br>
>> Linking CXX executable ../../bin/vtkProcessShader-6.0<br>
>> [100%] Built target ProcessShader<br>
>> Scanning dependencies of target vtkCompileTools<br>
>> [100%] Built target vtkCompileTools<br>
>> [ 45%] No install step for 'vtk-host'<br>
>> [ 48%] Completed 'vtk-host'<br>
>> [ 48%] Built target vtk-host<br>
>> Scanning dependencies of target vtk-android<br>
>> [ 51%] Creating directories for 'vtk-android'<br>
>> [ 54%] No download step for 'vtk-android'<br>
>> [ 57%] [ 60%] No patch step for 'vtk-android'<br>
>> No update step for 'vtk-android'<br>
>> [ 63%] Performing configure step for 'vtk-android'<br>
>> loading initial cache file<br>
>> /Users/daveb/VES/CMake/toolchains/TryRunResults.cmake<br>
>> CMake Error at<br>
>> /Users/daveb/VES/CMake/toolchains/android.toolchain.cmake:704 (message):<br>
>> Could not find any working toolchain in the NDK. Probably your Android<br>
>> NDK<br>
>> is broken.<br>
>> Call Stack (most recent call first):<br>
>> /Applications/CMake<br>
>> 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:93<br>
>> (include)<br>
>> CMakeLists.txt:3 (project)<br>
>><br>
>><br>
>> CMake Error: Error required internal CMake variable not set, cmake may be<br>
>> 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<br>
>> not be built correctly.<br>
>> Missing variable is:<br>
>> CMAKE_C_COMPILER<br>
>> CMake Error: Could not find cmake module file:<br>
>><br>
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/<br>
>> <a href="http://2.8.12.2/CMakeCCompiler.cmake" target="_blank">2.8.12.2/CMakeCCompiler.cmake</a><br>
>> CMake Error: Error required internal CMake variable not set, cmake may be<br>
>> 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<br>
>> not be built correctly.<br>
>> Missing variable is:<br>
>> CMAKE_CXX_COMPILER<br>
>> CMake Error: Could not find cmake module file:<br>
>><br>
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/<br>
>> <a href="http://2.8.12.2/CMakeCXXCompiler.cmake" target="_blank">2.8.12.2/CMakeCXXCompiler.cmake</a><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]<br>
>> Error 1<br>
>> make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2<br>
>> make: *** [all] Error 2<br>
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild/build }-><br>
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<br>
>><br>
>> Dave Busch<br>
>> <a href="mailto:deb63@pitt.edu">deb63@pitt.edu</a><br>
>><br>
>><br>
>><br>
>> ---------------------------- Original Message ----------------------------<br>
>> Subject: [Ves] Issues with CMake in VES build<br>
>> From: "Jon Chmura" <<a href="mailto:jon.chmura@me.com">jon.chmura@me.com</a>><br>
>> Date: Mon, March 24, 2014 12:41<br>
>> To: <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br>
>> --------------------------------------------------------------------------<br>
>><br>
>> Hi all,<br>
>><br>
>> We're are currently not able to build the Kiwi viewer app from master.<br>
>> We are getting the following error.<br>
>><br>
>> CMake Error: Error required internal CMake variable not set, cmake may be<br>
>> not be built correctly.<br>
>> Missing variable is:<br>
>> CMAKE_C_COMPILER_ENV_VAR<br>
>> CMake Error: Could not find cmake module file:<br>
>><br>
>> /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/<br>
>> <a href="http://2.8.12.2/CMakeCCompiler.cmake" target="_blank">2.8.12.2/CMakeCCompiler.cmake</a><br>
>> CMake Error: Error required internal CMake variable not set, cmake may be<br>
>> not be built correctly.<br>
>> Missing variable is:<br>
>> CMAKE_CXX_COMPILER_ENV_VAR<br>
>> CMake Error: Could not find cmake module file:<br>
>><br>
>> /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/<br>
>> <a href="http://2.8.12.2/CMakeCXXCompiler.cmake" target="_blank">2.8.12.2/CMakeCXXCompiler.cmake</a><br>
>> -- Configuring incomplete, errors occurred!<br>
>> CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.<br>
>> Please set CMAKE_C_COMPILER to a valid compiler path or name.<br>
>> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not<br>
>> found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.<br>
>> -- Configuring incomplete, errors occurred!<br>
>> make[2]: ***<br>
>> [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-configure] Error<br>
>> 1<br>
>> make[2]: ***<br>
>> [CMakeExternals/Stamp/vtk-ios-device/vtk-ios-device-configure] Error 1<br>
>> make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2<br>
>> make[1]: *** Waiting for unfinished jobs....<br>
>> make[1]: *** [CMakeFiles/vtk-ios-device.dir/all] Error 2<br>
>><br>
>> We were able to build successfully in the past. This issue may be new to<br>
>> OSX Mavericks. We had been using compiled .framework files for the past<br>
>> few months so we haven't had the need to rebuild from scratch until now.<br>
>> I verified that gcc and g++ are installed. I tried setting the<br>
>> environment variables manually but the same error still occurs. We also<br>
>> tried it with a fresh install of CMake on another machine and it failed<br>
>> with the same error.<br>
>><br>
>> Jon Chmura<br>
>> <a href="mailto:jon.chmura@me.com">jon.chmura@me.com</a><br>
>><br>
>><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>
>> _______________________________________________<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>
>><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>
>><br>
>><br>
><br>
><br>
> --<br>
> Casey B. Goodlett, Ph.D.<br>
> R&D Engineer<br>
> Kitware, Inc. - North Carolina Office<br>
> <a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
> <a href="tel:%28919%29%20969-6990%20x310" value="+19199696990">(919) 969-6990 x310</a><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://public.kitware.com/pipermail/ves/attachments/20140325/c5f08457/attachment-0001.html" target="_blank">http://public.kitware.com/pipermail/ves/attachments/20140325/c5f08457/attachment-0001.html</a>><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<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>
><br>
><br>
> ------------------------------<br>
><br>
> End of Ves Digest, Vol 26, Issue 16<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><br clear="all"><br>-- <br>Casey B. Goodlett, Ph.D.<br>R&D Engineer<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com">http://www.kitware.com</a><br>(919) 969-6990 x310
</div>