-
Notifications
You must be signed in to change notification settings - Fork 57
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
Build error on MacOS #22
Comments
Hi unfortunately the npm log doesnt help here. I need the log from your terminal to figure out, what went wrong. |
There is a linker error at 67%:
|
|
Thx a lot for your quick responses. How do I disable it? How can I pass custom arguments to cmake? Do I have to fork this library? Or should I just compile it myself? I know I can use the homebrew version of opencv on OSX, but the beauty of this package seems to be a cross platform opencv that can be shipped anywhere with NPM |
Yes either fork opencv-build and add the flag or compile OpenCV with cmake on your own. Just to point it out, this package does not provide a cross platform solution for OpenCV, it just installs it for you on your current platform, as some people are not familar with cmake at all. So compiling OpenCV on your own or downloading OpenCV is a perfectly fine solution as well. |
OK after adding If more people have the same issue we can open this again later.
|
Hmm sorry I have no clue. You are probably better off asking this @opencv. Especially the file |
When I run npm install I get an error on MacOS
Any idea how to fix this?
The NPM log:
The text was updated successfully, but these errors were encountered: