Skip to content

Cannot build on windows #14337

Closed
Closed
@kylelamse

Description

  • Version: latest
  • Platform: Windows 10 x64
  • Subsystem: build

I am trying to build node on Windows. I installed the prereqs but am getting an error when running the build script:

Looking for Visual Studio 2017
calling: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0.26430.16
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 15.0
C:\Python27\python.exe configure  --dest-cpu=x64 --tag=
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,
                 'coverage': 'false',
                 'debug_devtools': 'node',
                 'force_dynamic_crt': 0,
                 'host_arch': 'x64',
                 'icu_data_file': 'icudt59l.dat',
                 'icu_data_in': '..\\..\\deps/icu-small\\source/data/in\\icudt59l.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': '59',
                 'node_byteorder': 'little',
                 'node_enable_d8': 'false',
                 'node_enable_v8_vtunejit': 'false',
                 'node_install_npm': 'true',
                 'node_module_version': 56,
                 '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_openssl': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_use_bundled_v8': 'true',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'true',
                 'node_use_lttng': 'false',
                 'node_use_openssl': 'true',
                 'node_use_perfctr': 'true',
                 'node_use_v8_platform': 'true',
                 'node_without_node_options': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'shlib_suffix': 'so.56',
                 '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_use_snapshot': 'false',
                 'want_separate_host_toolset': 0,
                 'want_separate_host_toolset_mkpeephole': 0}}
creating config.gypi
creating config.mk
Warning: Missing input files:
deps\v8\src\..\..\include\v8-inspector-protocol.h
deps\v8\src\..\..\include\v8-inspector.h
src\tracing\trace_event.hsrc\tree.h
Project files generated.
  gtest.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\gtest.lib
  http_parser.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\http_parser.lib
  libuv.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\libuv.lib
  cares.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\cares.lib
  node_js2c
  openssl.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\openssl.lib
  v8_libbase.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\v8_libbase.lib
  v8_libplatform.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\v8_libplatform.lib
  v8_libsampler.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\v8_libsampler.lib
  zlib.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\zlib.lib
  openssl-cli.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\\openssl-cli.exe
  openssl-cli.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\openssl-cli.pdb (Full PDB)
  icuucx.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\icuucx.lib
  icutools.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\icutools.lib
  icustubdata.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\icustubdata.lib
  icui18n.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\icui18n.lib
  v8_nosnapshot.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\lib\v8_nosnapshot.lib
  icupkg.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\\icupkg.exe
  icupkg.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\icupkg.pdb (Full PDB)
  genccode.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\\genccode.exe
  genccode.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\genccode.pdb (Full PDB)
  iculslocs.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\\iculslocs.exe
  iculslocs.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\iculslocs.pdb (Full PDB)
  genrb.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\\genrb.exe
  genrb.vcxproj -> C:\Users\Kyle Lamse\Code\node\Release\genrb.pdb (Full PDB)
  icutrim
  'C:\Users\Kyle\icupkg' is not recognized as an internal or external command,
  operable program or batch file.
  Options: {'verbose': 1, 'filterfile': 'icu_small.json', 'toolpath': 'C:\\Users\\Kyle', 'deltmpdir': 1, 'outfile': 'icudt59l.dat', 'datfile': '..\\..\\deps\\icu-small\\source\\data\\in\\icudt59l.dat', 'locales': 'en,root', 'endian': 'little', 'tmpdir': 'C:\\Users\\Kyle'}
  icu_small.json: icutrim.py config: Trim down ICU to just a certain locale set, needed for node.js use.
  FAILED: C:\Users\Kyle\icupkg -tl ..\..\deps\icu-small\source\data\in\icudt59l.dat C:\Users\Kyle\icudt59l.dat
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\Kyle Lamse\Code\node\tools\icu\icudata.vcxproj]

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions