[CMake] Fw: cmake error

Tyler Roscoe tyler at cryptio.net
Fri Aug 7 11:25:30 EDT 2009


On Fri, Aug 07, 2009 at 08:09:34AM -0700, Siamak Yousefi wrote:
> CMake Error at
> /home/syouse/cmake/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32
> (MESSAGE):
> The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
> It fails with the following output:
> Change Dir: /home/syouse/ITKb/CMakeFiles/CMakeTmp
>  
>  
> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
> CMakeFiles/cmTryCompileExec.dir/build
> gmake[1]: Entering directory `/mnt/sdb1/syouse/ITKb/CMakeFiles/CMakeTmp'

Do you have write access to /home/syouse/ITKb/CMakeFiles/CMakeTmp?

Is /usr/bin/gcc the correct path to your C compiler?

tyler


More information about the CMake mailing list