The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12232 ====================================================================== Reported By: Felix Nawothnig Assigned To: ====================================================================== Project: CMake Issue ID: 12232 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-05-28 15:26 EDT Last Modified: 2011-05-28 15:26 EDT ====================================================================== Summary: 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". 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 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-05-28 15:26 Felix NawothnigNew Issue ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
