[CMake] eclipse-cmake bug - more info

Philip Lowman philip at yhbt.com
Mon Aug 17 21:17:48 EDT 2009


cd /home/Development/AMI_MDC_Dev_ Branch/Arm/MMP &&
/home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_depends "Unix Makefiles"
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/appmonitor.dir/DependInfo.cmake
--color=

The "--color=" in the command above looks suspicious.  Can you reproduce the
problem from a very small CMakeLists.txt file that does nothing but:

add_executable(foo foo.cc)

Also what is the version of CMake & Eclipse being used?



On Mon, Aug 17, 2009 at 7:02 PM, Steve Mathers <stevenmathers at yahoo.com>wrote:

> Here is the verbose output.
>
> remember, this only happens when I invoke make from eclipse.  when I invoke
> make from the shell, everything is fine.
>
> thanks for any insight
>

>
>
>
> **** Build of configuration Linux GCC for project mdc ****
>
> make appmonitor VERBOSE=1
> /home/cmake-2.6.4-Linux-i386/bin/cmake
> -H/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> -B/home/Development/AMI_MDC_Dev_Branch/Arm/MMP --check-build-system
> CMakeFiles/Makefile.cmake 0
> make -f CMakeFiles/Makefile2 appmonitor
> make[1]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> /home/cmake-2.6.4-Linux-i386/bin/cmake
> -H/home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> -B/home/Development/AMI_MDC_Dev_Branch/Arm/MMP --check-build-system
> CMakeFiles/Makefile.cmake 0
> /home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_progress_start
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles 33
> make -f CMakeFiles/Makefile2 CMakeFiles/appmonitor.dir/all
> make[2]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> make -f CMakeFiles/appmonitor.dir/build.make
> CMakeFiles/appmonitor.dir/depend
> make[3]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> cd /home/Development/AMI_MDC_Dev_Branch/Arm/MMP &&
> /home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_depends "Unix Makefiles"
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles/appmonitor.dir/DependInfo.cmake
> --color=
> make[3]: *** [CMakeFiles/appmonitor.dir/AppMonitor/main.cpp.o] Error 1
> make[2]: *** [CMakeFiles/appmonitor.dir/all] Error 2
> make[1]: *** [CMakeFiles/appmonitor.dir/rule] Error 2
> make: *** [appmonitor] Error 2
> make[3]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> make -f CMakeFiles/appmonitor.dir/build.make
> CMakeFiles/appmonitor.dir/build
> make[3]: Entering directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> /home/cmake-2.6.4-Linux-i386/bin/cmake -E cmake_progress_report
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/CMakeFiles 7
> [  3%] Building CXX object CMakeFiles/appmonitor.dir/AppMonitor/main.cpp.o
> /usr/lib/ccache/c++    -g -g
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/AppMonitor
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/DBUtil
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/Common
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/Scheduler
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/LanCommon
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../Common/lan_api/packets
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../Common/AMI_Types
> -I/home/Development/AMI_MDC_Dev_Branch/Arm/MMP/../../LanCommon   -o
> CMakeFiles/appmonitor.dir/AppMonitor/main.cpp.o -c
> /home/Development/AMI_MDC_Dev_Branch/Arm/MMP/AppMonitor/main.cpp
> make[3]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> make[2]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
> make[1]: Leaving directory `/home/Development/AMI_MDC_Dev_Branch/Arm/MMP'
>
>
>
>
>  __________________________________________________________________________________
> Find local businesses and services in your area with Yahoo!7 Local.
> Get started: http://local.yahoo.com.au
> _______________________________________________
> 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
>



-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090817/da423573/attachment.htm>


More information about the CMake mailing list