Ask Your Question
0

Problems of Building OpenCV 2.4.3 with Visual Studio 2012

asked 2013-01-16 15:58:16 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Heloo developers

I am a newbie about the OpenCV and now I am doing a project about image detection, so I really need this right now.I am using a Win8 x64 OS and Visual Studio 2012 (32 bit), I install OpenCV as the tutorial of the website posted ( http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation ), but at the step 7 I was stuck by building binaries debug and release for "all_solution". I cannot build .lib or .exe files successfully and there occured more than 200 errors and in the Build\bin\Debug or Build\bin\Release folders, all the files are .pdb and there is no "contours.exe" for testing.

So could some one tell me where is the problem and what I should do to correct it?? BTW in the selecting compiler step in CMake, which one should I choose, the VS11 or VS11(64 bit)? I am using a x64 Win8 but a 32bit VS11.

Greeeeeeeeeeeeeeeeeeeeeat thanks for the helps!!!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-01-17 05:18:16 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

It should be VS11 32-bit. At least I used it and I have Win8 64bit and 32bit VS.

edit flag offensive delete link more

Comments

when I compile the the "All_Build", it says "cannot find opencv_core249.lib", but I am using the opencv243, so where can I get the 249 version??

nanliu gravatar imagenanliu ( 2013-01-17 11:17:46 -0600 )edit

I think there is no 249 version. Have you remove everything and make a build once again withVS11 32bit? And have you add the path to the PATH variable?

bee. gravatar imagebee. ( 2013-01-18 08:22:26 -0600 )edit

Question Tools

Stats

Asked: 2013-01-16 15:58:16 -0600

Seen: 759 times

Last updated: Jan 17 '13