-
Notifications
You must be signed in to change notification settings - Fork 51
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
gyp error on install #137
Comments
According to my recent attempts to install the last version with a pre-installed OpenCV on ArchLinux, it seems it is still required to at least have the "OPENCV4NODEJS_DISABLE_AUTOBUILD=1" environment variable defined to prevent build-opencv to try building OpenCV from source. |
I did not try all parameters combinaison. Check my github actions to check the Way I testing them. |
Hello... I happily used this library (which is amazing btw) until I upgraded to node 20.12.2 (and python3). I'm back trying to install this now that version 7 is out which requires no configuration. I use a mac, I installed opencv, gcc via brew and I have xcode-select installed. I have node-gyp installed globally. I tried to install this package again but get the following error:
npm ERR! gyp: Call to 'node ./bin/install.js OPENCV4NODEJS_DEFINES' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error:
gyp
failed with exit code: 1does this mean anything to anyone? Any pointers would be much appreciated as I am feeling out of my depth!
The text was updated successfully, but these errors were encountered: