<p dir="ltr">Hi Frank,</p>
<p dir="ltr">Try using the 'next' branch instead of 'master'.  The next branch contains fixes for Xcode 4.5 and iOS 6.0 that are not yet in master.</p>
<p dir="ltr">Pat</p>
<div class="gmail_quote">On Oct 5, 2012 11:01 AM, "Ferro, Frank" <<a href="mailto:fferro@live.unc.edu">fferro@live.unc.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hello. I am having trouble building ves/kiwiview on iOS. I was following the instruction from the developer guide on the wiki <a href="http://www.vtk.org/Wiki/VES/Developers_Guide" target="_blank">http://www.vtk.org/Wiki/VES/Developers_Guide</a> and
 got to the make -j4 command before an error occurred. My system information follows along with the error that I got from the console.
<div><br>
</div>
<div>
<div>
<div>cmake version cmake version 2.8.9</div>
<div>XCode Version 4.5 (4G182)</div>
<div>Mac OS X version 10.7.5</div>
<div><br>
</div>
<div>________________________________________________________________________________________</div>
<div><br>
</div>
<div>[ 52%] Performing configure step for 'vtk-ios-simulator'</div>
<div>loading initial cache file /Users/fferro/src/VES/CMake/toolchains/TryRunResults.cmakeloading initial cache file </div>
<div>/Users/fferro/src/VES/CMake/toolchains/TryRunResults.cmake</div>
<div>CMake Error at /Users/fferro/src/VES/CMake/toolchains/toolchain-ios-device.cmake:41 (message):</div>
<div>  Could not find a usable iOS SDK in</div>
<div>Call Stack (most recent call first):</div>
<div>  /Applications/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)</div>
<div>  CMakeLists.txt:3 (project)</div>
<div><br>
</div>
<div><br>
</div>
<div>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.</div>
<div>Missing variable is:</div>
<div>CMAKE_C_COMPILER_ENV_VAR</div>
<div>CMake Error: Could not find cmake module file:/Users/fferro/src/VES/Apps/iOS/CMakeBuild/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeCCompiler.cmake</div>
<div>CMake Error at /Users/fferro/src/VES/CMake/toolchains/toolchain-ios-simulator.cmake:41 (message):</div>
<div>  Could not find a usable iOS SDK in</div>
<div>Call Stack (most recent call first):</div>
<div>  /Applications/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89 (INCLUDE)</div>
<div>  CMakeLists.txt:3 (project)</div>
<div><br>
</div>
<div><br>
</div>
<div>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.</div>
<div>Missing variable is:</div>
<div>CMAKE_C_COMPILER_ENV_VAR</div>
<div>CMake Error: Could not find cmake module file:/Users/fferro/src/VES/Apps/iOS/CMakeBuild/build/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeCCompiler.cmake</div>
<div>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.</div>
<div>Missing variable is:</div>
<div>CMAKE_CXX_COMPILER_ENV_VAR</div>
<div>CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.</div>
<div>Missing variable is:</div>
<div>CMAKE_CXX_COMPILER_ENV_VAR</div>
<div>CMake Error: Could not find cmake module file:/Users/fferro/src/VES/Apps/iOS/CMakeBuild/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/CMakeCXXCompiler.cmake</div>
<div>CMake Error: Could not find cmake module file:/Users/fferro/src/VES/Apps/iOS/CMakeBuild/build/CMakeExternals/Build/vtk-ios-simulator/CMakeFiles/CMakeCXXCompiler.cmake</div>
<div>-- Configuring incomplete, errors occurred!</div>
<div>-- Configuring incomplete, errors occurred!</div>
<div>make[2]: *** [CMakeExternals/Stamp/vtk-ios-device/vtk-ios-device-configure] Error 1</div>
<div>make[2]: *** [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-configure] Error 1</div>
<div>make[1]: *** [CMakeFiles/vtk-ios-device.dir/all] Error 2</div>
<div>make[1]: *** Waiting for unfinished jobs....</div>
<div>make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2</div>
<div>make: *** [all] Error 2</div>
<div>mac-video4:build fferro$ xcode-select -print-path</div>
<div>/Applications/Xcode.app/Contents/Developer</div>
<div>mac-video4:build fferro$ ls</div>
<div>CMakeCache.txt<span style="white-space:pre-wrap"> </span>CMakeFiles<span style="white-space:pre-wrap">
</span>Makefile</div>
<div>CMakeExternals<span style="white-space:pre-wrap"> </span>CTestCustom.cmake<span style="white-space:pre-wrap">
</span>cmake_install.cmake</div>
<div><br>
</div>
<div>________________________________________________________________________________________</div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks for the help,</div>
<div>Frank Ferro</div>
</div>
</div>

<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></blockquote></div>