Galileo 3.5.0 (CDT 6) seems to be working fine for me. It's the version I've used at work for a few months and it works fine at home.<br><br>There should be no difference between running make in the Eclipse generated directory vs. a Unix Makefile generated directory.<br>
<br>First check directory permissions (ensure all have execute bit) and crazy stuff like that. Try building in /tmp instead of /home, maybe you're having problems caused by a remote filesystem?<br><br>If this goes nowhere, you could try the following:<br>
<br>1. Using CMake 2.6.4 Configure a Unix Makefiles & Eclipse CDT build directory from scratch with your hello world example<br>2. Does a make in both of them succeed?<br> 3. If not, use make "VERBOSE=1" in the Unix Makefiles directory and compare and contrast to find the difference between the two.<br>
4. If it is successful at the command line, try building in Eclipse (after nuking build tree)<br> 5. If building fails in Eclipse copy and paste the build output to disk, then compare with the make "VERBOSE=1" you ran earlier in the Unix Makefiles directory earlier<br>
<br>Hope this helps and it's simply an environmental issue or something. :)<br><br><div class="gmail_quote">On Tue, Aug 18, 2009 at 6:34 PM, Steve Mathers <span dir="ltr"><<a href="mailto:stevenmathers@yahoo.com">stevenmathers@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, thanks for responding.<br>
<br>
Eclipse is the latest Galileo 3.5 and cmake is the latest I downloaded from the site yesterday 2.6.4<br>
<br>
yes,<br>
that does look suspicious. I have been trying a lot of stuff all<br>
morning, and I was actually fooling around with making an eclipse<br>
project via the cdt4 builder which is a method that I saw on a<br>
website. That didnt work very well, crashing eclipse and all sorts of<br>
things, but I did get it working sort of, with simialr results, only<br>
this time I saw a little more error information - something about<br>
depender file being newer than dependee. So I thought perhaps eclipse<br>
was touching files it shoudlnt and confusing cmake/make.<br>
<br>
with 'foo'<br>
<br>
same result, which is kind of a relief - its a systematic failure somehow.<br>
<br>
<br>
**** Build of configuration Linux GCC for project mdc ****<br>
<br>
make VERBOSE=1<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake<br>
-H/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
-B/home/Development/AMI_MDC_Dev_Branch/Arm/MMP --check-build-system<br>
CMakeFiles/Makefile.cmake 0<br>
make[2]: *** [CMakeFiles/appmonitor.dir/foo.cpp.o] Error 1<br>
make[1]: *** [CMakeFiles/appmonitor.dir/all] Error 2<br>
make: *** [all] Error 2<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake<br>
-E cmake_progress_start<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/progress.make<br>
make -f CMakeFiles/Makefile2 all<br>
make[1]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make -f CMakeFiles/appmonitor.dir/build.make CMakeFiles/appmonitor.dir/depend<br>
make[2]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
cd<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP &&<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_depends "Unix<br>
Makefiles" /home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/appmonitor.dir/DependInfo.cmake<br>
--color=<br>
make[2]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make -f CMakeFiles/appmonitor.dir/build.make CMakeFiles/appmonitor.dir/build<br>
make[2]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_progress_report /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles 1<br>
[100%] Building CXX object CMakeFiles/appmonitor.dir/foo.cpp.o<br>
/usr/lib/ccache/c++<br>
-g -g -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/AppMonitor<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/DBUtil<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/Common<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/Scheduler<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/LanCommon<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../Common/lan_api/packets<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../Common/AMI_Types<br>
-I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../LanCommon -o<br>
CMakeFiles/appmonitor.dir/foo.cpp.o -c<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/foo.cpp<br>
make[2]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make[1]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
<br>
<br>
<br>
This is the file it crashes out in/near<br>
<br>
<br>
[root@mdcdev CMakeFiles]# cat Makefile.cmake<br>
# CMAKE generated file: DO NOT EDIT!<br>
# Generated by "Unix Makefiles" Generator, CMake Version 2.6<br>
<br>
# The generator used is:<br>
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")<br>
<br>
# The top level Makefile was generated from the following files:<br>
SET(CMAKE_MAKEFILE_DEPENDS<br>
"CMakeCache.txt"<br>
"CMakeFiles/CMakeCCompiler.cmake"<br>
"CMakeFiles/CMakeCXXCompiler.cmake"<br>
"CMakeFiles/CMakeSystem.cmake"<br>
"CMakeLists.txt"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/<a href="http://CMakeCCompiler.cmake.in" target="_blank">CMakeCCompiler.cmake.in</a>"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeCInformation.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/<a href="http://CMakeCXXCompiler.cmake.in" target="_blank">CMakeCXXCompiler.cmake.in</a>"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeCXXInformation.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeCommonLanguageInclude.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeDetermineCompilerABI.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeDetermineCompilerId.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeDetermineSystem.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeFindBinUtils.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeGenericSystem.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/<a href="http://CMakeSystem.cmake.in" target="_blank">CMakeSystem.cmake.in</a>"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeSystemSpecificInformation.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/Platform/Linux.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/Platform/UnixPaths.cmake"<br>
"/home/cmake-2.6.4-Linux-i386/share/cmake-2.6/Modules/Platform/gcc.cmake"<br>
)<br>
<br>
# The corresponding makefile is:<br>
SET(CMAKE_MAKEFILE_OUTPUTS<br>
"Makefile"<br>
"CMakeFiles/cmake.check_cache"<br>
"CMakeFiles/CMakeDirectoryInformation.cmake"<br>
)<br>
<br>
# Byproducts of CMake generate step:<br>
SET(CMAKE_MAKEFILE_PRODUCTS<br>
)<br>
<br>
# Dependency information for all targets:<br>
SET(CMAKE_DEPEND_INFO_FILES<br>
"CMakeFiles/appmonitor.dir/DependInfo.cmake"<br>
)<br>
<br>
<br>
<br>
<br>
<br>
If I build it from 5he shell first, then build in eclipse, it works like below., but if I then touch the foo file and rebuild, splat as above.<br>
<br>
Notice<br>
that the color= thing is still shown below - but it works under that<br>
circumstance, so I think thats a red herring, possibly just a truncated<br>
output. perhaps I should try moving my entire project and renaming<br>
directories such that I can see more verbose output??!! grrrrr...<br>
<br>
**** Build of configuration Linux GCC for project mdc ****<br>
<br>
make VERBOSE=1<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake<br>
-H/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
-B/home/Development/AMI_MDC_Dev_Branch/Arm/MMP --check-build-system<br>
CMakeFiles/Makefile.cmake 0<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake<br>
-E cmake_progress_start<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/progress.make<br>
make -f CMakeFiles/Makefile2 all<br>
make[1]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make -f CMakeFiles/appmonitor.dir/build.make CMakeFiles/appmonitor.dir/depend<br>
make[2]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
cd<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP &&<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_depends "Unix<br>
Makefiles" /home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP<br>
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/appmonitor.dir/DependInfo.cmake<br>
--color=<br>
make[2]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make -f CMakeFiles/appmonitor.dir/build.make CMakeFiles/appmonitor.dir/build<br>
make[2]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
make[2]: Nothing to be done for `CMakeFiles/appmonitor.dir/build'.<br>
make[2]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_progress_report /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles 1<br>
[100%] Built target appmonitor<br>
make[1]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'<br>
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_progress_start /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles 0<br>
<br>
<br>
<br>
__________________________________________________________________________________<br>
Find local businesses and services in your area with Yahoo!7 Local.<br>
Get started: <a href="http://local.yahoo.com.au" target="_blank">http://local.yahoo.com.au</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Philip Lowman<br>