View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013689CMakeCMakepublic2012-11-16 13:362016-06-10 14:31
ReporterMichael Broutin 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformEclipse CDT MingwOSWindows 7OS Version64 bits
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013689: Some targets cannot be built with Eclipse CDT
DescriptionHi,
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@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 ReproduceUncompress 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 InformationMingw is installed correctly and mingw\bin is in my PATH.
TagsNo tags attached.
Attached Fileszip file icon testBug.zip [^] (478 bytes) 2012-11-16 13:36

 Relationships

  Notes
(0031759)
Alex Neundorf (developer)
2012-11-29 03:46

It complains that it cannot run CMake:
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe": Nom de répertoire non valide

Is this path correct ? Can you run this command on a Windows shell ?

Does it also work in a mingw shell ?
(0031763)
Michael Broutin (reporter)
2012-11-29 14:08

Yes, yes and yes :)
(0042150)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2012-11-16 13:36 Michael Broutin New Issue
2012-11-16 13:36 Michael Broutin File Added: testBug.zip
2012-11-16 14:43 Alex Neundorf Assigned To => Alex Neundorf
2012-11-16 14:43 Alex Neundorf Status new => assigned
2012-11-29 03:46 Alex Neundorf Note Added: 0031759
2012-11-29 14:08 Michael Broutin Note Added: 0031763
2016-06-10 14:28 Kitware Robot Note Added: 0042150
2016-06-10 14:28 Kitware Robot Status assigned => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team