Repository navigation
Windows build failed for v6.3.0 #7734
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.Issues and PRs related to the c-ares dependency or the cares_wrap binding.inspectorIssues and PRs related to the V8 inspector protocol.Issues and PRs related to the V8 inspector protocol.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: v6.3.0
- Platform: Windows VS2013
- Subsystem: Windows7
I can't build nodejs v6.3.0 on Windows 7 VS2013.
i got the error:
> vcbuild.bat nobuild nosign
Looking for Visual Studio 2015
Looking for Visual Studio 2013
Found Visual Studio 2013
configure --dest-cpu=x86 --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,
'debug_devtools': 'node',
'host_arch': 'x64',
'icu_data_file': 'icudt57l.dat',
'icu_data_in': '..\\..\\deps/icu-small\\source/data/in\\icudt57l.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': '57',
'node_byteorder': 'little',
'node_enable_v8_vtunejit': 'false',
'node_install_npm': 'true',
'node_module_version': 48,
'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',
'openssl_fips': '',
'openssl_no_asm': 0,
'target_arch': 'ia32',
'v8_enable_gdbjit': 0,
'v8_enable_i18n_support': 1,
'v8_inspector': 'true',
'v8_no_strict_aliasing': 1,
'v8_optimized_debug': 0,
'v8_random_seed': 0,
'v8_use_snapshot': 'true',
'want_separate_host_toolset': 1}}
creating config.gypi
creating config.mk
Warning: Missing input files:
deps\v8_inspector\platform\v8_inspector\MuteConsoleScope.h
deps\v8_inspector\platform\v8_inspector\public\V8EventListenerInfo.h
deps\v8_inspector\platform\v8_inspector\<(blink_platform_output_dir\v8_inspector\DebuggerScript.h
deps\v8_inspector\platform\v8_inspector\IgnoreExceptionsScope.h
deps\v8_inspector\platform\v8_inspector\public\V8HeapProfilerAgent.h
deps\cares\src\ares_rules.h
deps\v8_inspector\platform\v8_inspector\<(blink_platform_output_dir\v8_inspector\InjectedScriptSource.h
src\inspector-agent.h
Project files generated.
some files are missing within v6.x branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.Issues and PRs related to the c-ares dependency or the cares_wrap binding.inspectorIssues and PRs related to the V8 inspector protocol.Issues and PRs related to the V8 inspector protocol.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Activity
mscdex commentedon Jul 14, 2016
/cc @ofrobots
ofrobots commentedon Jul 14, 2016
Interesting that things work in the CI. /cc @eugeneo.
ayoubserti commentedon Jul 14, 2016
Some files was removed from this branch and the .gyp project keep including those files:
e.g: cares.gyp
richardlau commentedon Jul 14, 2016
These two are because
deps/v8_inspector/platform/v8_inspector/v8_inspector.gypis missing the closing)for<(blink_platform_output_dir):ayoubserti commentedon Jul 15, 2016
hello,
when compiling with VS2013, the project node_i18n can't compile:
joaocgreis commentedon Jul 15, 2016
@ayoubserti you should compile with
If you use
nobuild, it will not build anything (it's useful for when you have node already built and just want to run the tests, likevcbuild nosign noprojgen nobuild test). The warning about missing files is normal, those files are generated as part of the build process before they are needed, but gyp doesn't know that and prints the warning.Please make sure you have a clean tree before you try to compile again. Delete the folder and unzip again, or if you're using git:
ayoubserti commentedon Jul 18, 2016
@joaocgreis I know
nobuildwill generate VS projects and solution without building.after git reset --hard i regenerate project and i got:
joaocgreis commentedon Jul 18, 2016
I can reproduce, node doesn't build from Visual Studio IDE.
This happens exactly because of what @richardlau pointed out: Besides listing those two entries as "missing input files", the generated
.vcxprojis invalid and the VS IDE can't open it. Somehow,msbuildis able to work as expected, but not the IDE.@ofrobots Should we float a patch here or should we try to submit it upstream?
@ayoubserti for now, it seems that building from the command line is the only way.
ofrobots commentedon Jul 18, 2016
@joaocgreis we are already working on bringing in a new version of v8_inspector dependency that is going to include a fix for this problem.
deps: update v8_inspector