Use C++ and OpenCV in Windows

asked 2015-10-26 09:41:43 -0500

El Merendero gravatar image

For a project I have to make a program in C++ with openCV library. Can you suggest me an IDE? Actually I'm using code::blocks but I can not make the library work.


edit retag flag offensive close merge delete



On Windows, I would suggest Visual Studio

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-10-26 10:14:28 -0500 )edit

if you insist on using mingw as compiler, you will have to build the opencv libs from src using cmake first.

berak gravatar imageberak ( 2015-10-26 22:15:52 -0500 )edit

I tried to build opencv libs following different tutorial but I can't. Which compiler can I choose instead of mingw?

El Merendero gravatar imageEl Merendero ( 2015-10-27 06:31:41 -0500 )edit

if you can use VS, you can use the prebuild libs from sourceforge. else, no other choice than using ming, and build from src. (maybe it even builds with icc, not sure)

berak gravatar imageberak ( 2015-10-27 06:34:40 -0500 )edit