[Ves] Issues with CMake in VES build

Aashish Chaudhary aashish.chaudhary at kitware.com
Mon Mar 24 17:53:09 EDT 2014


On Mon, Mar 24, 2014 at 12:41 PM, Jon Chmura <jon.chmura at me.com> wrote:

> 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 have built VES on Mavericks too. Can you provide some additional info:

1. CMake version?
2. VES git SHA


Thanks,



>  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
>
>
>
>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140324/9c540d72/attachment-0003.html>


More information about the Ves mailing list