-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Build: failure on Windows where I run .\vcbuild #25133
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Could you please provide the entire output of vcbuild? |
It looks a bit like #7734 (comment). |
ok wait a minute |
C:\Users\17289\Desktop\pr\node>.\vcbuild test
Looking for Python 2.x
Looking for NASM
Looking for Visual Studio 2017
calling: "C:\BuildTools\VC\\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 15.0
Reusing solution generated with --with-pch --dest-cpu=x64
v8_libbase.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\v8_libbase.lib
openssl.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\openssl.lib
torque_base.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\torque_base.lib
openssl-cli.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\openssl-cli.exe
icuucx.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\icuucx.lib
icui18n.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\icui18n.lib
icustubdata.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\icustubdata.lib
icutools.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\icutools.lib
bytecode_builtins_list_generator.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\bytecode_builtins_list_generator.
exe
icupkg.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\icupkg.exe
genccode.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\genccode.exe
genrb.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\genrb.exe
iculslocs.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\iculslocs.exe
torque.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\\torque.exe
icudata.vcxproj -> C:\Users\17289\Desktop\pr\node\Release\lib\icudata.lib
intl-objects.cc
c:\users\17289\desktop\pr\node\deps\icu-small\source\common\unicode\stringoptions.h : warning C4819: 该文件包含不能在当前代码页(936)
中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\17289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(785): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保
存为 Unicode 格式以防止数据丢失 [C:\Users\17289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1468): error C2065: “keyword”: 未声明的标识符 [C:\Users\172
89\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1474): error C2044: 非法 continue [C:\Users\17289\Desk
top\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1477): error C2065: “keyword”: 未声明的标识符 [C:\Users\172
89\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1480): error C2059: 语法错误:“if” [C:\Users\17289\Deskto
p\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1480): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\1
7289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1480): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) [C:\User
s\17289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1487): error C2059: 语法错误:“return” [C:\Users\17289\De
sktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1490): error C2059: 语法错误:“}” [C:\Users\17289\Desktop
\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1490): error C2143: 语法错误: 缺少“;”(在“}”的前面) [C:\Users\1
7289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1491): error C2143: 语法错误: 缺少“;”(在“}”的前面) [C:\Users\1
7289\Desktop\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
c:\users\17289\desktop\pr\node\deps\v8\src\objects\intl-objects.cc(1491): error C2059: 语法错误:“}” [C:\Users\17289\Desktop
\pr\node\deps\v8\gypfiles\v8_base.vcxproj]
Building Node with reused solution failed. To regenerate project files use "vcbuild projgen" |
when i run .\vcbuild projgen |
Did you try to update Visual Studio 2017 Developer Command Prompt using Visual studio installer? |
maybe not |
what code ??? // This is fine.™ pls delete ™ |
Open "node\deps\v8\src\objects\intl-objects.cc" with notepad and save as with Encoding=Unicode |
Set Probably related to #25885 |
I follow the instructions in GUILDING.md
but, when i run .\vcbuild test, The following error has occurred
I mentioned it in node/help yesterday
but you know that there are very few responses
so I have to mention the issue here
If this is not appropriate, you can turn this off
The text was updated successfully, but these errors were encountered: