[cmake-developers] [CMake 0013689]: Some targets cannot be built with Eclipse CDT

Mantis Bug Tracker mantis at public.kitware.com
Fri Nov 16 13:36:37 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13689 
====================================================================== 
Reported By:                Michael Broutin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13689
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-11-16 13:36 EST
Last Modified:              2012-11-16 13:36 EST
====================================================================== 
Summary:                    Some targets cannot be built with Eclipse CDT
Description: 
Hi,
I'm not sure it is actually a bug, but when I generate a project for Eclipse
CDT+Mingw, I get several build targets, for example :
[Build] in [Targets]/[exe] TestBug
[Clean] in [Targets]/[exe] TestBug
[exe] TestBug
[exe] TestBug/fast
... (other targets I don't use)

In that list, the 3 and 4 compile as expected, but the 1 and 2 seem to be unable
to find mingw32-make.exe...

Here is the build log :



19:32:41 **** Build of project testbug at build ****
"C:\\Program Files (x86)\\CMake 2.8\\bin\\cmake.exe" -E chdir
E:/Prog/bug_cdt/build "C:/Program Files (x86)/CMake 2.8/bin/cmake.exe" -P
CMakeFiles/TestBug.dir/cmake_clean.cmake 
Cannot run program "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe": Nom de
répertoire non valide.


Error: Program "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" not found in
PATH
PATH=[E:\Prog\ImageMagick;C:\Program Files\Common Files\Microsoft Shared\Windows
Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows
Live;C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program
Files (x86)\Graphviz2.26.3\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET
Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program
Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseHg\;C:\Program
Files\doxygen\bin;e:\prog\libs\qt\bin;C:\Program
Files\7-Zip;e:\MinGW\bin;C:\Program Files (x86)\CMake
2.8\bin;e:\python;E:\Prog\Groovy-2.0.5\bin]

19:32:41 Build Finished (took 278ms)



Steps to Reproduce: 
Uncompress the zip
Generate the project for Eclipse CDT 4 with Mingw
In eclipse, import the project
Right click on the project/Make Targets/Build...
Choose the first option ([Build] in [Targets]/[exe] TestBug)

Additional Information: 
Mingw is installed correctly and mingw\bin is in my PATH.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-16 13:36 Michael BroutinNew Issue                                    
2012-11-16 13:36 Michael BroutinFile Added: testBug.zip                      
======================================================================




More information about the cmake-developers mailing list