Closed

Description
I've installed VS2017 and fetched the latest version of Node. When I tried to build, I got some errors below:
Pre-installed:Python 2.7.0 (x86)
D:\Projects\node>vcbuild test openssl-no-asm
Looking for Python 2.x
Looking for Visual Studio 2017
calling: "C:\Program Files\VSCommunity2017\VC\\Auxiliary\Build\vcvarsall.bat" x86_x64
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.7.3
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86_x64'
Found MSVS version 15.0
configure --dest-cpu=x64 --openssl-no-asm
?[1m?[93mWARNING?[0m: --openssl-no-asm will result in binaries that do not take advantage
of modern CPU cryptographic instructions and will therefore be slower.
Please refer to BUILDING.md
creating icu_config.gypi
* Using ICU in deps/icu-small
creating icu_config.gypi
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'asan': 0,
'build_v8_with_gn': 'false',
'coverage': 'false',
'debug_nghttp2': 'false',
'force_dynamic_crt': 0,
'host_arch': 'ia32',
'icu_data_in': '..\\..\\deps/icu-small\\source/data/in\\icudt61l.dat',
'icu_endianness': 'l',
'icu_gyp_path': 'tools/icu/icu-generic.gyp',
'icu_locales': 'en,root',
'icu_path': 'deps/icu-small',
'icu_small': 'true',
'icu_ver_major': '61',
'node_byteorder': 'little',
'node_debug_lib': 'false',
'node_enable_d8': 'false',
'node_enable_v8_vtunejit': 'false',
'node_install_npm': 'true',
'node_module_version': 64,
'node_no_browser_globals': 'false',
'node_prefix': '/usr/local',
'node_release_urlbase': '',
'node_shared': 'false',
'node_shared_cares': 'false',
'node_shared_http_parser': 'false',
'node_shared_libuv': 'false',
'node_shared_nghttp2': 'false',
'node_shared_openssl': 'false',
'node_shared_zlib': 'false',
'node_tag': '',
'node_target_type': 'executable',
'node_use_bundled_v8': 'true',
'node_use_dtrace': 'false',
'node_use_etw': 'true',
'node_use_openssl': 'true',
'node_use_perfctr': 'true',
'node_use_v8_platform': 'true',
'node_without_node_options': 'false',
'openssl_fips': '',
'openssl_no_asm': 1,
'shlib_suffix': 'so.64',
'target_arch': 'x64',
'v8_enable_gdbjit': 0,
'v8_enable_i18n_support': 1,
'v8_enable_inspector': 1,
'v8_no_strict_aliasing': 1,
'v8_optimized_debug': 0,
'v8_promise_internal_field_count': 1,
'v8_random_seed': 0,
'v8_trace_maps': 0,
'v8_typed_array_max_size_in_heap': 0,
'v8_use_snapshot': 'true',
'want_separate_host_toolset': 1}}
creating config.gypi
creating config.mk
?[1m?[93mWARNING?[0m: warnings were emitted in the configure phase
Warning: Missing input files:
deps\v8\gypfiles\..\src\parsing\preparse-data-format.h
deps\v8\gypfiles\..\include\v8-debug.h
Project files generated.
cares.vcxproj -> D:\Projects\node\Release\lib\cares.lib
http_parser.vcxproj -> D:\Projects\node\Release\lib\http_parser.lib
gtest.vcxproj -> D:\Projects\node\Release\lib\gtest.lib
libuv.vcxproj -> D:\Projects\node\Release\lib\libuv.lib
nghttp2.vcxproj -> D:\Projects\node\Release\lib\nghttp2.lib
node_js2c
openssl.vcxproj -> D:\Projects\node\Release\lib\openssl.lib
v8_init.vcxproj -> D:\Projects\node\Release\lib\v8_init.lib
v8_initializers.vcxproj -> D:\Projects\node\Release\lib\v8_initializers.lib
v8_libbase.vcxproj -> D:\Projects\node\Release\lib\v8_libbase.lib
v8_libplatform.vcxproj -> D:\Projects\node\Release\lib\v8_libplatform.lib
v8_libsampler.vcxproj -> D:\Projects\node\Release\lib\v8_libsampler.lib
zlib.vcxproj -> D:\Projects\node\Release\lib\zlib.lib
v8_nosnapshot.vcxproj -> D:\Projects\node\Release\lib\v8_nosnapshot.lib
openssl-cli.vcxproj -> D:\Projects\node\Release\\openssl-cli.exe
icustubdata.vcxproj -> D:\Projects\node\Release\lib\icustubdata.lib
icutools.vcxproj -> D:\Projects\node\Release\lib\icutools.lib
icui18n.vcxproj -> D:\Projects\node\Release\lib\icui18n.lib
icuucx.vcxproj -> D:\Projects\node\Release\lib\icuucx.lib
iculslocs.vcxproj -> D:\Projects\node\Release\\iculslocs.exe
genccode.vcxproj -> D:\Projects\node\Release\\genccode.exe
genrb.vcxproj -> D:\Projects\node\Release\\genrb.exe
icupkg.vcxproj -> D:\Projects\node\Release\\icupkg.exe
icutrim
该版本的 D:\Projects\node\Release\icupkg.exe 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。
Options: {'verbose': 1, 'filterfile': 'icu_small.json', 'toolpath': 'D:\\Projects\\node\\Release\\', 'deltmpdir': 1
, 'outfile': 'icudt61l.dat', 'datfile': '..\\..\\deps\\icu-small\\source\\data\\in\\icudt61l.dat', 'locales': 'en,r
oot', 'endian': 'little', 'tmpdir': 'D:\\Projects\\node\\Release\\obj\\global_intermediate\\icutmp'}
icu_small.json: icutrim.py config: Trim down ICU to just a certain locale set, needed for node.js use.
FAILED: D:\Projects\node\Release\icupkg -tl ..\..\deps\icu-small\source\data\in\icudt61l.dat D:\Projects\node\Relea
se\obj\global_intermediate\icutmp\icudt61l.dat
C:\Program Files\VSCommunity2017\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: “cmd.exe
”已退出,代码为 1。 [D:\Projects\node\tools\icu\icudata.vcxproj]
It told me that D:\Projects\node\Release\icupkg.exe
isn't compatable with my current running Windows……How to solve that? I searched for the whole Issues but not found anything about x86 configuration modifications……?
Thanks anyway!