How to build Opencv 3 alpha with cmake

asked 2014-10-03 16:26:52 -0600

OS : WIndows 7 IDE : MS Visual Studio (C++)

Hi there,

Prior to Opencv 3.0 Alpha I was able to use the precompiled libraries within the opencv within Visual Studio by simply linking directories and adding additional directories.

I never used CMAKE to build any of the libraries before as the above method worked perfectly.

I downloaded the alpha edition because of the HDR features however upon trying to link I noticed that many of the binary and library files were not included in the download, especially the core and calib3 files. I therefore am unable to link VS with Opencv.

I have read that I need to either: 1. Manually compile the library with CMAKE or, 2. Attempt to download the master file from github.

MY question is, does the Github directory contain the binary and library files necessary?

Please could someone help me with building the libraries manually via CMAKE?

Desperate much, Thanks so much!

edit retag flag offensive close merge delete

Comments

Nope, it doesnt. And to add to that, the dev release 3.0 is not ensured to be stable. We try to keep it as stable as possible but you will have to build it completely yourself. On Windows this can be quite the challenge. That is exactly why I switched to my Linux environment for OpenCV programming.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-06 07:42:29 -0600 )edit