[Ves] Issues with CMake in VES build

Jon Chmura jon.chmura at me.com
Mon Mar 24 12:41:41 EDT 2014


Hi all,

We’re are currently not able to build the Kiwi viewer app from master.   We are getting the following error.

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: Could not find cmake module file: /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/2.8.12.2/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: Could not find cmake module file: /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
-- Configuring incomplete, errors occurred!
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
make[2]: *** [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-configure] Error 1
make[2]: *** [CMakeExternals/Stamp/vtk-ios-device/vtk-ios-device-configure] Error 1
make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/vtk-ios-device.dir/all] Error 2

We were able to build successfully in the past.  This issue may be new to OSX Mavericks.  We had been using compiled .framework files for the past few months so we haven’t had the need to rebuild from scratch until now.  I verified that gcc and g++ are installed.  I tried setting the environment variables manually but the same error still occurs. We also tried it with a fresh install of CMake on another machine and it failed with the same error. 

Jon Chmura
jon.chmura at me.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140324/ea6efca3/attachment-0002.html>


More information about the Ves mailing list