Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered an error that 'version.gypi' could not be found during the build process. #55

Closed
bbsuuo opened this issue Jul 6, 2023 · 1 comment

Comments

@bbsuuo
Copy link

bbsuuo commented Jul 6, 2023

PS G:\GitLibrary\node-1> ./vcbuild.bat
Looking for Python 2.x
Looking for Visual Studio 2017
calling: "D:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" amd64


** Visual Studio 2017 Developer Command Prompt v15.9.55
** Copyright (c) 2017 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 15.0
configure --dest-cpu=x64
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_http2': 'false',
    'debug_nghttp2': 'false',
    'force_dynamic_crt': 0,
    'host_arch': 'x64',
    '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': 59,
    '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_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.59',
    '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': 'true',
    'want_separate_host_toolset': 0}}
    creating config.gypi
    creating config.mk
    gyp: ....\build\util\version.gypi not found (cwd: G:\GitLibrary\node-1) while reading includes of node.gyp while trying to load node.gyp
    Error running GYP

I tried to compile, but encountered an error. Here are some logs. It seems that no build-related directories were generated .Did I miss any steps?

@rogerwang
Copy link
Member

check the official build steps and logs here: http://buildbot-master.nwjs.io:8010/waterfall

and please ask questions in our mailing list: https://groups.google.com/forum/#!forum/nwjs-general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants