MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012232 | CMake | CMake | public | 2011-05-28 15:26 | 2016-06-10 14:31 |
| Reporter | Felix Nawothnig | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Win32 | OS | OS Version | ||
| Product Version | CMake 2.8.4 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012232: CMake possibly fails to launch devenv.com when disable8dot3 is set on NTFS | ||||
| Description | CMake applies GetShortPathName() on the compiler path with the purpose to generate a space-free string - this doesn't work if the path to devenv.com a) contains a directory with spaces (which it usually does, due to the "Microsoft Visual Studio X" directory) and b) said directory was created (e.g. MSVC was installed) when disable8dot3 was set to 1. The resulting error is rather cryptic - "Check for working C compiler" fails with the error message "%1 is not a valid Win32 application" (including the verbatim %1), as a result of CreateProcess() trying to launch the file "C:\Progra~2\Microsoft". | ||||
| Steps To Reproduce | |||||
| Additional Information | As a workaround the user can give the MSVC directory a short-name, after which cmake works fine: > fsutil.exe behavior set disable8dot3 0 > fsutil.exe file setshortname "Microsoft Visual Studio 9.0" msvc~90 > fsutil.exe behavior set disable8dot3 1 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-05-28 15:26 | Felix Nawothnig | New Issue | |||
| 2012-08-11 11:09 | David Cole | Status | new => backlog | ||
| 2012-08-11 11:09 | David Cole | Note Added: 0030262 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041844 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||