MSVCP120.dll missing

asked 2016-02-14 04:20:00 -0500

chaiein gravatar image

updated 2016-02-14 19:51:05 -0500

I am trying to execute a simple open cv program in the visual studio 2015. The build is successful, but i get the msvcp110.dll missing. I have even tried changing the path of opencv from vc11 to vc12 . then it shows MSVCP120.dll missing.

How to resolve this problem?

edit retag flag offensive close merge delete

Comments

linking against the vc11 libs would be wrong anyway, if you're using vs2015

berak gravatar imageberak ( 2016-02-14 04:30:00 -0500 )edit

then vc12 is also giving MSVCP120.dll error. should the environmental variables PATH be changed?

chaiein gravatar imagechaiein ( 2016-02-14 04:36:48 -0500 )edit
1

You have to build OpenCV from source with Visual Studio 2015 or you have to use Visual Studio 2013 and the pre-build vc12 libs.

matman gravatar imagematman ( 2016-02-14 05:21:03 -0500 )edit

Can please give me the steps for building opencv with visual studio 2015

chaiein gravatar imagechaiein ( 2016-02-14 05:26:16 -0500 )edit

please give the steps so after resolving I can confirm its a answer.

chaiein gravatar imagechaiein ( 2016-02-14 05:35:58 -0500 )edit
1

Here is a tutorial. This should work for all Visual Studio versions. In the past there were some problems with Visual Studio 2015. Personally I use Visual Studio 2013 and never had any problems building OpenCV 3.0 or 3.1 from sources.

matman gravatar imagematman ( 2016-02-14 10:39:59 -0500 )edit

Thank you @matman it worked for me but with few modifications of adding opencv_world310d.lib in additional dependencies and opencv path from vc14. Please mark above as the solution.

chaiein gravatar imagechaiein ( 2016-02-14 22:37:36 -0500 )edit