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

./learnuv make returns error: linker command failed with exit code 1 #32

Open
nairihar opened this issue Oct 27, 2018 · 1 comment
Open

Comments

@nairihar
Copy link

nairihar commented Oct 27, 2018

Hi I am using Node v8.11.3. I can't build the project.
I also tried to build using Xcode, but after build ./learnuv not works.

screen shot 2018-10-27 at 10 04 30 pm

@hgm-king
Copy link

Ha I figured it out after playing around with things. I looked here for some advice: nodejs/node-gyp#469 and learned what needs to be done.

  1. run the following in your terminal
export CXXFLAGS="-mmacosx-version-min=10.9"
export LDFLAGS="-mmacosx-version-min=10.9"
  1. follow the instructions in the README to build using make
./gyp_learnuv.py -f make
make -C out
./out/Debug/01_system_info

and viola you are rocking and rolling.

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