-
Notifications
You must be signed in to change notification settings - Fork 47
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
Readme update request, win10 #135
Comments
I do not have access to any of my Windows or Linux PC since October, The simplest way is to install OpenCV from Chocolatey, if you have some special needs like CUDA you may need to add come custom env variable. |
And that is the problem, because I don't know what exact requirements, what deprecated or not yet supported. Every once a while, when I trying to use this binding, never get it first try:
|
the first error is strange: |
|
Is it ok to have that much escape symbols ? |
You can try to directly call To do so, you may need to first install the package using: npm install --ignore-scripts @u4/opencv4nodejs Then call the script that is failling with something like: ./node_modules/.bin/build-opencv OPENCV4NODEJS_DEFINES or node ./node_modules/@u4/opencv4nodejs/bin/install.js OPENCV4NODEJS_DEFINES you may need to replace |
Cmake was not in system variables. Direct call not working.
after adding CMAKE, it ends up with error
Using something like Then I delete
|
you did not call: node ./node_modules/@u4/opencv4nodejs/bin/install.js OPENCV4NODEJS_DEFINES |
yea I called it once before add cmake, console was silent with cmake it goes same bunch of logs like when configure Script endsup with this:
Trying to run right after
Running 'help' as suggested, but with v4.9 |
any thoughts ? |
node ./node_modules/@u4/opencv4nodejs/bin/install.js OPENCV4NODEJS_DEFINES 2>NUL
node ./node_modules/@u4/opencv4nodejs/bin/install.js OPENCV4NODEJS_INCLUDES 2>NUL
node ./node_modules/@u4/opencv4nodejs/bin/install.js OPENCV4NODEJS_LIBRARIES 2>NUL the if all of them works, call the build step manualy: cd node_modules/@u4/opencv4nodejs
npm run rebuild But I think you error is related to an issue with your write access to your local drive... try to run it as administrator, to check it you have the same error. I should get a Windows PC next week. |
Cmd was running under administrator whole time
npm run rebuildjust compile errors
|
Node 22 !! I have to test this version of node. |
https://github.com/UrielCh/opencv4nodejs/actions/runs/8966777300/job/24622979901 Just tested: NodeJS 22 break windows Build. |
With nodejs v20.12.2 only way I can manage to install:
Other gives errors like: Don't know how to install 4.9.0 because |
Hi!
Could you please update installation process in README for average user, without "extra" settings like system variables which are not neccesary ? With all requirments you have tested, I don't understand what msvs version do I need, nodejs version, npm, node-gyp, python, etc... What exactly packages I have to install.
Do I need to use conda like in your sandbox project ?
Thank you.
The text was updated successfully, but these errors were encountered: