Skip to content
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

[BUG] build error (on npm install) Windows 10 #673

Open
Novivy opened this issue May 14, 2020 · 2 comments
Open

[BUG] build error (on npm install) Windows 10 #673

Novivy opened this issue May 14, 2020 · 2 comments
Labels

Comments

@Novivy
Copy link

Novivy commented May 14, 2020

Describe the bug
Can't install opencv on windows 10, followed the readme instructions. Also searched for past issues but they are all closed without answers/solutions..

Tried with OpenCV 4.3.0 & 2.4.13.6 (btw the 2.4 doesn't contain a folder vc12, there is only vc14 & vc15

To Reproduce

Download and install OpenCV (Be sure to use a 2.4 version) @ http://opencv.org/releases.html For these instructions we will assume OpenCV is put at C:\OpenCV, but you can adjust accordingly.

If you haven't already, create a system variable called OPENCV_DIR and set it to C:\OpenCV\build\x64\vc12

Make sure the "x64" part matches the version of NodeJS you are using.

Also add the following to your system PATH ;%OPENCV_DIR%\bin

Install Visual Studio 2013. Make sure to get the C++ components. You can use a different edition, > just make sure OpenCV supports it, and you set the "vcxx" part of the variables above to match.

Download peterbraden/node-opencv fork git clone https://github.com/peterbraden/node-opencv

run npm install

Expected behavior
Successfull npm install opencv

OS / Libraries

  • Operating System : Windows 10
  • OpenCV Version : Tried with OpenCV 4.3.0 & 2.4.13.6 (btw the 2.4 doesn't contain a folder vc12, there is only vc14 & vc15

Additional context
2020-05-14T14_28_46_490Z-debug.log

@Novivy Novivy added the bug label May 14, 2020
@DarkRoku12
Copy link

i also have this issue.

@cabiamdos
Copy link

I also have this issue, I can't use opencv in windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants