[Insight-users] cmake stop working properly after system update

Baoyun Li baoyun_li123 at yahoo.com
Mon Jun 15 12:27:05 EDT 2009


Dear All:

I have used itk and cmake for a while, and it works well.

After my system adminstrator update some patches on my linux machin last week, cmake could not buid any previsou project.

Here is what I did, I went into the buid direcotory, and type 

ccmake ../source.

And then press c for configuration.

Cmake give me following errors:

CMake Error at
/home/gtao/tools/CMake/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25
(MESSAGE):
The C++ compiler "/usr/bin/bcc" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/gtao/code/EMLevelset/EMLiver
(copy)/build/CMakeFiles/CMakeTmp
 
 
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
 
How come the "/usr/bin/bcc" comes? I also try use "t" to get more options and change cxx compiler to g++, still have similar  problem,  Can somebody help me to figure out what happended and how to solve the problem.
 
Thanks
 
baoyun


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090615/e8ab6ebe/attachment.htm>


More information about the Insight-users mailing list