View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010180 | CMake | CMake | public | 2010-01-24 11:29 | 2015-06-01 08:38 | ||||
Reporter | Xuan Li | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Win32 | OS | Windows 7 | OS Version | 6.1.7600 | ||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | CMake 3.2 | |||||||
Summary | 0010180: CMake won't generate Visual Studio projects with working paths that have Unicode charactors | ||||||||
Description | Using CMake on Windows 7 to generate Visual Studio 2008 projects. Working paths contain Unicode charactors(Chinese, Japanese, ...). And error message is: -- Configuring incomplete, errors occurred! CMake Error: Unable to open cache file for save. I:/Downloads/SourceCode/cmake-2.6.4??/Build/CMakeCache.txt CMake Error: : System Error: No such file or directory It seems that setting CRT locale to system default locale at the beginning will fix this problem. But then there is another problem when checking whether cl.exe works: -- Check for working C compiler: cl -- broken CMake Error at I:/cmake-2.8.0-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:50 (MESSAGE): The C compiler "cl" is not able to compile a simple test program. And I found that it's the same problem mentioned in Issue 0005097. When CMake calls devenv.com to compile the test program CMAKE_TRY_COMPILE.sln, with "encoding=Windows-1252" .vcproj project file, Visual Studio can't find any source files, and then the generation fails. I think it might be fixed by writting "encoding=UTF-8" and generating UTF-8 encoded .vcproj files. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0028707) zouguangxian (reporter) 2012-02-23 21:40 |
it is duplication of 0012074, 0012075, 0005097. |
(0028712) Brad King (manager) 2012-02-24 08:44 |
CMake needs sweeping internationalization changes to properly support character encoding. See 0012074:0028710. |
(0037715) Clinton Stimpson (developer) 2015-01-16 10:11 |
Fixed by switching to utf-8 internally. http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=cdc29c3 [^] |
(0038841) Robert Maynard (manager) 2015-06-01 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-01-24 11:29 | Xuan Li | New Issue | |
2010-12-15 07:21 | David Cole | Assigned To | => Brad King |
2010-12-15 07:21 | David Cole | Status | new => assigned |
2012-02-23 21:40 | zouguangxian | Note Added: 0028707 | |
2012-02-24 08:29 | Brad King | Relationship added | related to 0012074 |
2012-02-24 08:29 | Brad King | Relationship added | related to 0012075 |
2012-02-24 08:44 | Brad King | Note Added: 0028712 | |
2012-02-24 08:44 | Brad King | Assigned To | Brad King => |
2012-02-24 08:44 | Brad King | Status | assigned => backlog |
2015-01-15 23:41 | Clinton Stimpson | Assigned To | => Clinton Stimpson |
2015-01-15 23:41 | Clinton Stimpson | Status | backlog => assigned |
2015-01-16 10:11 | Clinton Stimpson | Note Added: 0037715 | |
2015-01-16 10:11 | Clinton Stimpson | Status | assigned => resolved |
2015-01-16 10:11 | Clinton Stimpson | Fixed in Version | => CMake 3.2 |
2015-01-16 10:11 | Clinton Stimpson | Resolution | open => fixed |
2015-06-01 08:38 | Robert Maynard | Note Added: 0038841 | |
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |