CMake error to build the project with Cyrillic letters

374 Views Asked by At

I have error with build my project.

I use last CMake version.

And CryEngine.

"C:\Program Files (x86)\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.3\Tools\CryVersionSelector\cryrun.exe" "build" "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Game.cryproject"
Traceback (most recent call last):
  File "cryselect.py", line 595, in <module>
  File "cryselect.py", line 510, in cmd_run
  File "C:\Python34\lib\encodings\cp866.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\u0490' in position 28: character maps to <undefined>
Failed to execute script cryselect

Problem with endcoding:

Сборка начата 03.07.2017 11:48:53.

Проект "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\CMakeTmp\cmTC_ba43f.vcxproj" в узле 1 (целевые объекты по умолчанию).

PrepareForBuild:

Создание каталога "cmTC_ba43f.dir\Debug\".

Создание каталога "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\CMakeTmp\Debug\".

Создание каталога "cmTC_ba43f.dir\Debug\cmTC_ba43f.tlog\".

InitializeBuildStatus:

Создание "cmTC_ba43f.dir\Debug\cmTC_ba43f.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate".

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_ba43f.dir\Debug\" /Fd"cmTC_ba43f.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\feature_tests.cxx"

Оптимизирующий компилятор Microsoft (R) C/C++ версии 19.10.25019 для x64

(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_ba43f.dir\Debug\" /Fd"cmTC_ba43f.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\feature_tests.cxx"

feature_tests.cxx

Link:

C:\Program Files (x86)\Microsoft Visual Studio\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\CMakeTmp\Debug\cmTC_ba43f.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/HP/Documents/CRYENGINE Projects/My Project/Solutions/Game.win_x64/CMakeFiles/CMakeTmp/Debug/cmTC_ba43f.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/HP/Documents/CRYENGINE Projects/My Project/Solutions/Game.win_x64/CMakeFiles/CMakeTmp/Debug/cmTC_ba43f.lib" /MACHINE:X64 /machine:x64 cmTC_ba43f.dir\Debug\feature_tests.obj

cmTC_ba43f.vcxproj -> C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\CMakeTmp\Debug\cmTC_ba43f.exe

FinalizeBuildStatus:

Файл "cmTC_ba43f.dir\Debug\cmTC_ba43f.tlog\unsuccessfulbuild" удаляется.

Обращение к "cmTC_ba43f.dir\Debug\cmTC_ba43f.tlog\cmTC_ba43f.lastbuildstate".

Сборка проекта "C:\Users\HP\Documents\CRYENGINE Projects\My Project\Solutions\Game.win_x64\CMakeFiles\CMakeTmp\cmTC_ba43f.vcxproj" завершена (целевые объекты по умолчанию).

Сборка успешно завершена.

Предупреждений: 0

Ошибок: 0

Прошло времени 00:00:00.97

I have Russian language in Windows

Visual Studio 2017 English version

0

There are 0 best solutions below