Skip to content

gyp: name 'node_shared' is not defined while evaluating condition 'node_shared=="true"' in node.gyp #17674

@sornon

Description

@sornon

Version: Branch::master
Platform: MacOS
Subsystem: x64

I have a problem about generate a Xcode project with GYP

I did it as follows:

  1. git clone https://github.com/nodejs/node.git
    into node and ./configure
  2. git clone https://chromium.googlesource.com/external/gyp
    into gyp and python setup.py build and sudo python setup.py install
  3. into node and ../gyp/gyp node.gyp --depth=. -f xcode --generator-output=./build
    It show :

gyp: name 'node_shared' is not defined while evaluating condition 'node_shared=="true"' in node.gyp

What's wrong?

node.gyp
node.txt

node.gypi
nodei.txt

common.gypi
common.txt

config.gypi
config.txt

icu_config.gypi
icu_config.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions