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

problem installing opencv on windows #35

Open
fransiskapw opened this issue Feb 23, 2013 · 12 comments
Open

problem installing opencv on windows #35

fransiskapw opened this issue Feb 23, 2013 · 12 comments

Comments

@fransiskapw
Copy link

I get error when trying to install on windows 7 64 bit python 27

Here are the error screenshot i got:
Capture

I can install node-gyp just fine, and also other node modules. I also have opencv installed, which i tested with python

Any idea?

@peterbraden
Copy link
Owner

Yeah, I haven't written the build target for windows.

Honestly, I have zero experience with compiling stuff on windows - I don't imagine it would be hard to create, but I don't know enough to do it myself and I haven't got a windows machine to play with it on.

A couple of people have talked to me about adding this, but I haven't heard of anyone finishing it - I'd love to add this if someone gets it working.

@notcoffeetable
Copy link

Take a look at my branch, I have included the .pc file, bindings.gyp includes, and instructions for installing on Windows.

@peterbraden
Copy link
Owner

@notcoffeetable this is badass! Is it ready to be pulled in? I haven't been able to test on windows, but would love to add this for the people that want to do windows stuff.

@notcoffeetable
Copy link

@peterbraden I haven't verified if my branch still builds on Mac/Unix yet. I have a couple readme updates for people on x64 I need to push, after its been verified. I still need to write a proper gyp target for windows.

@penguin359
Copy link
Contributor

@notcoffeetable Well, I tested it and it does build and pass npm test on Mac OS 10.6.8. I also took the liberty of updating it to the latest from @peterbraden master branch of the code. notcoffeetable#1

@thallium205
Copy link

@notcoffeetable This works well. Thank you so much.

@notcoffeetable
Copy link

I was using it for a work project and we ended up dropping it so I hadn't done anymore work on it. I'm glad it's satisfactory.

@thallium205
Copy link

What did you wind up using if I may ask?

@notcoffeetable
Copy link

We weren't really using opencv for its most powerful features, we really
wanted to find a way to split a video source. In the end we moved to C# and
some virtual cameras.

On Thu, Sep 12, 2013 at 12:29 PM, John Russell notifications@github.comwrote:

What did you wind up using if I may ask?


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-24344423
.

@MasaMune692
Copy link

Hi guys,

I have recently tried to install opencv-node with the version of notcoffeetable and here is where it went wrong:
opencvpc
opencvpc2

My opencv.pc seems well configured and pkg-config is set to work with the pkgconfigpath to the file.

Any clues guys??

Thanks,

Dominik Czuban

@MasaMune692
Copy link

Hi,

guys I have no idea why it worked but it finally builded so i am happy :)

I noticed that if I mess up the pkg_config_path i get the same message so i guess make i can say make sure u have the right pkg_config_path + making sure u verify x64 and x86 build too

U should also try npm install instead of npm install opencv as its displaying an error...

Several mistake in the *.js examples and the test files with a link to images. Ex: instead of ./mona.jpg, it should be ../mona.jpg.

Dominik Czuban

@Assrock
Copy link

Assrock commented Dec 30, 2014

I got the same error message like MasaMune. I dont know why.
Maybe my opencv.pc file isnt correct? What do you guys think?

Package Information for pkg-config

prefix=C:\opencv
exec_prefix=${prefix}\build\x64\vc12\bin
libdir=${prefix}\build\x64\vc12\lib
includedir_old=${prefix}\build\include\opencv
includedir_new=${prefix}\build\include\opencv2

Name: OpenCV
Description: Open Source Computer Vision Library
Version: 2.4.10
Libs: ${libdir}\opencv_core2410 ${libdir}\opencv_imgproc2410 ${libdir}\opencv_highgui2410 ${libdir}\opencv_ml2410 ${libdir}\opencv_video2410 ${libdir}\opencv_features2d2410 ${libdir}\opencv_calib3d2410 ${libdir}\opencv_objdetect2410 ${libdir}\opencv_contrib2410 ${libdir}\opencv_legacy2410 ${libdir}\opencv_flann2410
Cflags: ${includedir_old} ${includedir_new}

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

No branches or pull requests

7 participants