View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008203 | CMake | CMake | public | 2008-11-30 16:40 | 2009-01-09 18:04 | ||||
Reporter | Matt Williams | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Windows | OS Version | XP | |||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0008203: Windows Code::Blocks generator incompatible with C::B 8.02 | ||||||||
Description | If "CodeBlocks - MinGW Makefiles" is selected as the generator in Windows, the produced codeblocks project files don't work. Even a very simple project will fail in CodeBlocks with: mingw32-make.exe: C:/Documents\ and\ Settings/matt/My\ Documents/cbtest/Makefile: No such file or directory mingw32-make.exe: *** No rule to make target `C:/Documents\ and\ Settings/matt/My\ Documents/cbtest/Makefile'. Stop. Process terminated with status 2 (0 minutes, 0 seconds) 0 errors, 0 warnings As far as I can tell, this is due to the paths being escaped incorrectly. In the .cbp file, the Build Command is set to: C:/MinGW/bin/mingw32-make.exe -f "C:/Documents\ and\ Settings/matt/My\ Documents/cbtest/Makefile" all but since the path is quoted, there's no need for the space-escapes. Therefore, the command should be simply: C:/MinGW/bin/mingw32-make.exe -f "C:/Documents and Settings/matt/My Documents/cbtest/Makefile" all That is, there is no need for the '\' before spaces in the path. | ||||||||
Additional Information | Code::Blocks 8.02 MinGW 5.1.4 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0014379) bluescarni (reporter) 2008-12-17 03:10 |
I can confirm this with CMake 2.6.2 and CodeBlocks 8.02. Moving the project from dir "c:\Documents and Settings\....\foo" to "c:\foo" fixed the issue. |
(0014502) Alex Neundorf (developer) 2009-01-09 18:04 |
Fixed in cvs trunk, should be in cmake 2.6.3. Alex |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-30 16:40 | Matt Williams | New Issue | |
2008-12-15 10:46 | Bill Hoffman | Status | new => assigned |
2008-12-15 10:46 | Bill Hoffman | Assigned To | => Alex Neundorf |
2008-12-17 03:10 | bluescarni | Note Added: 0014379 | |
2009-01-09 18:04 | Alex Neundorf | Note Added: 0014502 | |
2009-01-09 18:04 | Alex Neundorf | Status | assigned => closed |
2009-01-09 18:04 | Alex Neundorf | Resolution | open => fixed |
2009-01-09 18:04 | Alex Neundorf | Description Updated |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |