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

Installing with own dlib library #147

Open
LYYYYL opened this issue Feb 13, 2019 · 1 comment
Open

Installing with own dlib library #147

LYYYYL opened this issue Feb 13, 2019 · 1 comment

Comments

@LYYYYL
Copy link

LYYYYL commented Feb 13, 2019

According to your instructions:

If you want to use an own build of dlib:
set DLIB_INCLUDE_DIR to the source directory of dlib
set DLIB_LIB_DIR to the file path to dlib.lib | dlib.so | dlib.dylib
If you set these environment variables, the package will use your own build instead of compiling dlib:
npm install face-recognition

Is there any example of how to set these variables correctly?
Also, is there any way to not use "npm install face-recognition" which will redownload the source code?
Thanks!

@je3f0o
Copy link

je3f0o commented Apr 6, 2019

If you have already installed dlib on your system use something like this.
export DLIB_INCLUDE_DIR=/usr/local/Cellar/dlib/19.17/include/
export DLIB_LIB_DIR=/usr/local/Cellar/dlib/19.17/lib/

I tried auto build and manual build both way. Still cannot install it on MacOs 10.11 :(

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