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

npm install face-recognition fails #34

Closed
HackPoint opened this issue Feb 9, 2018 · 3 comments
Closed

npm install face-recognition fails #34

HackPoint opened this issue Feb 9, 2018 · 3 comments

Comments

@HackPoint
Copy link

Node: 9.3.0
OS: darwin x64

CXX(target) Release/obj.target/facerec/cc/FaceRecognizerNet.o
SOLINK_MODULE(target) Release/facerec.node
ld: warning: directory not found for option '-L/usr/X11/lib'
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/facerec.node] Error 1

@justadudewhohacks
Copy link
Owner

You need to have some kind of libx11 installed currently, for the GUI parts of dlib. For Mac OSX it's available under the xquartz project.

@m-onz
Copy link

m-onz commented Feb 9, 2018

Don't forget to log out and then log back in again once you've install xquarts for it to take affect.

https://www.xquartz.org/

And don't forget CMAKE!

https://cmake.org/download/

@justadudewhohacks
Copy link
Owner

Closing, if after setting up xquartz it still does not work, feel free to reopen.

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

3 participants