Open eaglesharkmayonnaise opened 5 years ago
that is an odd unicode error. what tools did you use to check out the sources? did you edit the sources? as a workaround to see if it helps can you try installing https://gitforwindows.org/ and checking out the sources with that git?
I didn't edit anything.
1. git clone --recursive https://github.com/intelxed/xed.git xed
2. git clone --recursive https://github.com/intelxed/mbuild.git mbuild
3. mfile.py host_cpu=ia32
but i just run mfile.py
,it's will be succeed,
didn’t understand your last statement.
i have had many people build on windows. i am guessing it is something about your configuration.
try https://gitforwindows.org/ as an experiment...
what git are you using?
i use this: https://git-scm.com/download/win
I had this problem as well, but it disappeared somehow. There was a problem with the SDK pathes as well, but this batch file works fine for me since then:
cd /D "D:\Development\xed\Build64"
set WindowsSdkDir=
python ../mfile.py clean
python ../mfile.py examples
pause
It's even working when executed outside the Developer Command Prompt (maybe VS 2019 automatically added some stuff to the PATH).
If someone can give me the exact recipe that generates the issue, I can try to reproduce it locally.
chcp 65001
set VSLANG=1033
If someone can give me the exact recipe that generates the issue, I can try to reproduce it locally.
Install non-english Visual Studio. My Cyrillic installation emits errors in 866 code page by default.
Can you run this command and tell me what it returns:
python3 -c "import locale; print(locale.getpreferredencoding())"
or python2 instead of python3.
I have a guess that mbuild's hardcoded use of utf-8 is problematic for some languages. Easy to change (I have a patch locally), just wanted to get more data for my hunch
C:\VS>python3 -c "import locale; print(locale.getpreferredencoding())" "python3" не является внутренней или внешней командой, исполняемой программой или пакетным файлом.
C:\VS>python -c "import locale; print(locale.getpreferredencoding())" cp1251
C:\VS>where python C:\Python37\python.exe C:\Python27\python.exe
so I pushed a patch to the mbuild git repo that might address this issue. Please give it a shot and let me know.
works for me with no hacks applied
cool. (And my dreams of getting a job as unicode consultant continue to thrive :-) )
run :
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting. R: 2 P: 107 C: 2 E: 2 / 188 msecs [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed-operand-convert-init.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed-operand-convert-init.c [EXIT_STATUS ] 1 [STDERR] Execution error for: 'utf8' codec can't decode byte 0xce in position 23: invalid continuation byte [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed-operand-convert-init.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed-operand-convert-init.c [EXIT_STATUS ] 1
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting. R: 1 P: 107 C: 3 E: 3 / 190 msecs [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed-isa-set-enum.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed-isa-set-enum.c [EXIT_STATUS ] 1 [STDERR] Execution error for: 'utf8' codec can't decode byte 0xce in position 23: invalid continuation byte [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed-isa-set-enum.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed-isa-set-enum.c [EXIT_STATUS ] 1
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting. R: 0 P: 107 C: 4 E: 4 / 191 msecs [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed3-phash-lu-vv1.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed3-phash-lu-vv1.c [EXIT_STATUS ] 1 [STDERR] Execution error for: 'utf8' codec can't decode byte 0xce in position 23: invalid continuation byte [COMMAND ] "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023//bin/Hostx64/x86/cl.exe" -IC:/Users/kkk/Desktop/xedtes/xed/include/private -IC:/Users/kkk/Desktop/xedtes/xed/include/public/xed -IC:/Users/kkk/Desktop/xedtes/xed/include/public -Iobj -Iobj/include-private /nologo /MT /W4 /WX /wd4091 /wd4127 /wd4505 /wd4702 /wd4244 /wd4292 /DXED_GIT_VERSION="v10.0-411-gb7231de" /DXED_AMD_ENABLED /DXED_VIA_ENABLED /DXED_AVX /DXED_SUPPORTS_AVX512 /DXED_MPX /DXED_CET /DXED_SUPPORTS_SHA /DXED_SUPPORTS_WBNOINVD /DXED_DECODER /DXED_ENCODER /DXED_SUPPORTS_LZCNT_TZCNT /DXED_BUILD /c /Foobj/xed3-phash-lu-vv1.obj C:/Users/kkk/Desktop/xedtes/xed/obj/xed3-phash-lu-vv1.c [EXIT_STATUS ] 1
ABORT: Library build failed