-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Difficulties installing (possibly macOS specific) #3
Comments
I had intended to package CADS with a pre-built version of opencv. More work on that soon. I'm on MacOS as well, and must not be having issues due to opencv already being installed on my system. I'll go back through my notes and make sure I'm not missing build steps in the readme. |
I too am having problems installing on Linux. After some wrangling I was able to launch electron, but it complains about missing files, and none of the buttons work: I also get this in the terminal while it's running: |
PS I also had the "'opencv2/core.hpp' file not found" error, which seems to stem from the script looking for |
It's looking like some version mismatches in the node dependencies are causing |
Hi Zach! |
I had a few problems with
make install
. Some of these problems I got past, some I haven't yet.I'm using this work item to gather the problems before creating a pull with troubleshooting tips.
Problem: npm ERR! /bin/sh: cmake: command not found
Solution:
brew install cmake
Problem: gyp: No Xcode or CLT version detected!
Solution:
sudo xcode-select --reset
See this article for rationale.
Problem: npm ERR! ../cc/core/Size.h:1:10: fatal error: 'opencv2/core.hpp' file not found
Possible solution:
After this I am getting similar C++ compilation problems, such as "node-gyp/18.9.0/include/node/v8-internal.h:646:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?". It isn't clear to me if this means I have the wrong Xcode version for my Mac, the wrong Node.js version, the wrong Python version, or if cads requests the wrong opencv4nodejs or node-gyp version.
Currently the failure reports "gyp info using [email protected]", "gyp info using [email protected] | darwin | x64", and 'gyp info find Python using Python version 3.9.5 found at "/Users/snible/miniconda3/bin/python3"'.
The text was updated successfully, but these errors were encountered: