I do an cmake program, but encount an stranger problem.

1. mkdir tmp; cd tmp
2. tar -zxvf ../cmake-test.tar.gz
3. mkdir build; cd build
4. cmake ..; make

I got an error:
/usr/bin/gcc        -o tcl2c++ -rdynamic
gcc: fatal error: no input files

Then
1. cd ..
1. head -51 CMakeLists.txt >CMakeLists.txt.tmp
2. mv CMakeLists.txt.tmp CMakeLists.txt
3. cd build
4. rm -fr *
5. cmake ..; make

It works now.

Why?

-- 
YunQiang Su

Attachment: cmake-test.tar.gz
Description: GNU Zip compressed data

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to