Build OpenCV 2.0 libraries from source using Visual Studio 2010 Beta and CMake

OpenCV 2.0a does not contain pre-compiled OpenCV libraries for Visual Studio users. I am trying to build libraries from source using Visual Studio 2010 Beta and CMake, but I am getting a lot of errors.
I even tried to create libs from the dll using dumpbin, but linker errors still persist. Please guide me to create static libs for VS2010.

+7
visual-studio-2010 opencv cmake
source share
4 answers

If the build error you see is related to:

'back_inserter': identifier not found 

as is usually the case for the cvmodelest.cpp and cvhog.cpp source files, add the following include statement to each of these source files:

 #include <iterator> 

For more on 'back_inserter': identifier not found error see this blog post .

+4
source share

Try this tutorial (dead) and this one .

I tried this with VS 2010 and Windows 7.

+1
source share

It's kind of late, but I created a video tutorial to compile and configure OpenCV 2.1 using Visual Studio 2010.

+1
source share

See https://stackoverflow.com/a/318616/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/2/3/3/2/3/3/3/3/3/3/2/3/2/3/2/3/3/2/3/3/2/3/3/3/3/3/3/3/3/3/2/2/2/2/2/2/2/3/3/3/3/3/3/3/3/3/3/3/3/3/3/3/3/3/3644/en.php?id=2125. See https://stackoverflow.com/questions/6631/... This is for VC ++ 2008, but it may help.

0
source share

All Articles