Ask Your Question
0

OpenCV 3.0 Missing files

asked 2015-09-24 04:33:35 -0600

cawhitley gravatar image

Can anyone provide CLEAR instructions on how to build OpenCV on Windows x64 (in my case, Windows 10), using Visual Studio 2015 Express? I have downloaded the OpenCV 3.0.0 self-extractor file, unpacked it, and there are files missing from the package. Many of the core, prebuilt DLLs are not in the package, and the OpenCV.sln file, which many people have mentioned (in posts) needs to be built, is not there.

I also tried cloning the OpenCV source code & samples repository from GIT, directly to my hard drive, then looking for the OpenCV.sln file, but again it is not there. I see some CMAKE related files. Is CMAKE the only possible way to build OpenCV 3.0.0? If so, why do so many people mention the SLN file, which does not exist.

At the moment, I am dead-in-the-water with trying to use OpenCV, because I cannot locate the proper binaries (DLLs), and I cannot build it myself. Pretty strange, for such a popular library!

Any help would be greatly appreciated. Thank you!!

edit retag flag offensive close merge delete

Comments

Did you try to follow official tutorial: http://docs.opencv.org/master/d3/d52/...

mshabunin gravatar imagemshabunin ( 2015-09-24 07:35:13 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
3

answered 2015-09-24 04:36:17 -0600

berak gravatar image

updated 2015-09-24 04:37:00 -0600

  • "...and there are files missing from the package" - not really. opencv_world.lib/dll contains all other libs, just use that.

  • "Is CMAKE the only possible way to build OpenCV 3.0.0" - yes. it will generate a sln file (to build the libs) for you.

edit flag offensive delete link more

Comments

Thanks for the info about the "world". I was unaware of that, because most posts that I read mentioned the various "core" DLLs. The main issue is an error invoking "emgu" library, which uses OCV. But I will try copying the OCV DLL, and see if I can get it to work.

cawhitley gravatar imagecawhitley ( 2015-09-24 22:02:26 -0600 )edit

unfortunately, emgu (like any unsupported 3rd party wrapper) is off-topic here, ask on their own forum !

berak gravatar imageberak ( 2015-09-24 22:18:29 -0600 )edit
0

answered 2015-11-26 16:37:44 -0600

zipzit gravatar image

I thought this was a much better guide to creating your own: http://inside.mines.edu/~whoff/course... The link referenced above is very much outdated.

And one comment. You said you downloaded Microsoft Visual studio to use on your Win64 bit Operating system. I just tried that, but was only able to download the 32bit version of Visual Studio. That's just the way they are releasing it now. Not sure that really matters, but as I understand it, you do need 32bit compilers for that tool. Just be careful, that's all.

The two things that were odd:
finding Cmake-gui.exe, was only available on the windows version of Cmake, not the generic version. the other issue was trying to find the right CMakeLists.txt file. Normally that is contained inside the OpenCV package, but I couldn't find it in the normal download. Instead I used the download from github

That one worked with Cmake pretty well.

But I will say, for some odd reason, I'm missing some header files, its not clear why. They are all related to .c classes. I'm still working on it, but my initial guess is the Cmake missed it somehow, perhaps related to my compilers?

edit flag offensive delete link more

Comments

this sounds more like a question, not an answer ...

berak gravatar imageberak ( 2015-11-27 00:24:46 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2015-09-24 04:33:35 -0600

Seen: 1,232 times

Last updated: Sep 24 '15