Sorry, this content is no longer available

Ask Your Question
0

Can we use OpenCv in VS 2012 ?

asked Aug 26 '13

lolaalol gravatar image

At my home im using OpenCv with vs 2010 express with no problem but at school we have VS 2012. When i try to execute my program, its saying there is a missing dll MSVCP100.DLL ( or something like that ) but i checked we do have this dll in the system. Anyone is able to run OpenCv on 2012 ?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Aug 27 '13

utkarshmankad gravatar image

There's no problem with OpenCv libraries in either VS 2010 or VS 2012. You get such problem, because you've MSVCP100 compiler dll for VS 2010, where as MSVCP110 compiler dll is needed for VS2012. Upgrade your VS 2010 project in VS 2012. Then on you would be able to use it accordingly.

If that doesn't help, Right click your VS project--> Properties-->Configuration Properties--->General . In that look for entry Platform toolset. It must be 100 for VS 2010 and 110 for VS 2012. Alter it accordingly.

Alternatively, rebuild your OpenCv library for VS 2012 compilers.

Preview: (hide)

Comments

Actually you do not have to upgrade your project, but select the vc11 folder in stead of the vc10 folder for libs and dlls. Visual studio 2012 cannot handle the visual compiler 10 in combination with OpenCV.

StevenPuttemans gravatar imageStevenPuttemans (Aug 27 '13)edit

Question Tools

Stats

Asked: Aug 26 '13

Seen: 394 times

Last updated: Aug 27 '13