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

Windows issue with Opencv #17

Closed
liquidzym opened this issue Feb 14, 2017 · 6 comments
Closed

Windows issue with Opencv #17

liquidzym opened this issue Feb 14, 2017 · 6 comments

Comments

@liquidzym
Copy link

not sure anyone of you has this issue under the windows
i got bunch of errors from opencv2\flann\matrix.h(69): error C2144 during the compiling
matrix.h(93): error C4430:
opencv2\flann\matrix.h(93): error C3646
etc......

@schwittlick
Copy link
Owner

Weird, which one of the examples are you trying to run? Did you try to use the existing VS project files?

@liquidzym
Copy link
Author

liquidzym commented Feb 15, 2017

i tried both,the default existing example-yolo2,and also i did using pg to regenerate this example. both failed. weird stuff is that i'm running the existing example-yolo2,got different bunch of erros from darknet source file, the CvCapture undeclared etc....

are you sure this option is correct ?C/C++ -> All Options -> Compile As -> Default

i'm using vs2015 update3 version with lastest OF master

@schwittlick
Copy link
Owner

Yeah that option is necessary, so VS doesn't try to compile the CUDA kernel source files with a C++ compiler..

The only difference between our setups seems to be that I am using one of the OF releases (0.9.3 & 0.9.8). I am not aware if there were any changes regarding ofxOpenCv recently? Maybe it would be worth a try to use one of the releases you can download from the oF site.

@schwittlick
Copy link
Owner

@liquidzym maybe this version here is going to make it work for you. #23

@armadillu
Copy link

armadillu commented Oct 12, 2017

Seeing the same issue on osx - it seems like it is an include confusion problem; OpenCV has "matrix.h" (opencv/include/opencv2/flann/matrix.h) but darknet also has a "matrix.h" (darknet/include/matrix.h)

@armadillu
Copy link

I ended up renaming matrix.h in darknet to matrix_.h and changing all the #includes within dakrnet to "matrix_.h" to make it work

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

No branches or pull requests

3 participants