-
Notifications
You must be signed in to change notification settings - Fork 826
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
55% Linking CXX shared library ../../lib/libopencv_core.dylib [ 55%] Built target opencv_core | Failed at the opencv-build@0.1.9 install script. #807
Comments
same here with
I tried to install it with opencv installed first and without. Build fail at 55% with opencv_core in both cases.
but i have many errors before with 3rdparty libs
complete log here are available here |
@igorpsf Hi,I also encountered the same problem. Have you solved it? |
Hi @l54808821 , not yet. |
Bad |
The problem will be solved? Can't install package |
I have the same problem :( |
The problem will be solved? Can't install package |
I am having the same issue. Does anyone have any suggestions on how to fix this? |
I am having the exact same issue. has anyone found any suggestions on how to fix this? |
same to me ,need help |
Please... |
same here.. please help |
Same here, could someone find a solution? |
Hey there everyone, So I have been able to make it a little bit further than the 55% mark now. I noticed that after running the "npm install opencv4nodejs" command there was a tag mentionning there was no CXX compiler detected. I think the default one being used is not even c++11 standard. So before installing the package I have added an environment variable to set the default compiler to c++14 export CXXFLAGS="-std=c++14" I am now getting past the 55% mark but am now hitting another issue with narrowing that is accessible only in the c++11 version. Working on fixing that compilation issue Will keep you posted |
Ok so I was able to get the full installation of opencv4nodejs working. Current Setup Node installation (with Homebrew) opencv installation (with Homebrew) opencv4nodejs installtion (with node installer)
|
Just got this problem, CXXFLAGS="-std=c++14 -Wno-c++11-narrowing" was the key for me, works under Monterey / Node 18 |
Hello, trying to install opencv4nodejs on macOS and facing error below:
Error Message
Auto Build - Full Error Log
Manual Build - Environment Information
OS: MacOS Catalina Version 10.15.7
The text was updated successfully, but these errors were encountered: