-
Notifications
You must be signed in to change notification settings - Fork 828
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
SOLVED macOS Installation issues. #852
Comments
i still cannot solve the problem with so many build error |
I have the same issue on windows |
This is supposed to fix macOS |
Hi, This version autodetects the common setup path for Brew on Mac, Chocolatey on Windows, and Apt on Linux.
just define environment variable: OPENCV4NODEJS_DISABLE_AUTOBUILD=1 And your prebuild OpenCV will be used. You may need to call: |
tried it but i'm still getting this error after
|
|
rename it, this is far from being SOLVED. same error as above |
ERROR:
Error: Cannot find module '/Users/yourName/Desktop/project2/node_modules/opencv4nodejs/build/Release/opencv4nodejs'
Follow these steps and you should be able to install and work with this library. I've spent several hours trying to solve the issue and I think I've found something that works:
export CXXFLAGS="-std=c++14 -Wno-c++11-narrowing"
in the root of your project.npm install opencv4nodejs
This process should actually trigger the build in opencv4nodejs and now the module can be used without issues.
The text was updated successfully, but these errors were encountered: