Click here to Skip to main content
15,888,733 members

Problem with using OpenCV in VS 2012

JOHN 602 asked:

Open original thread
Hello guys

I downloaded and unzipped OpenCV-2.4.2.exe(the latest version) on my PC. Than created a new Win32 project in VS 2012,set all the Paths in Project properties, set the environmental variables in Win7.
All look fine and studio doesn't see any problems.
When I try to start the program in debugging mode I get the "The program can't start because MSVCR100D.dll is misssing from your computer. Try reinstalling the program to fix this problem"

Ok/ I downloaded the MSVCR100D.dll and threw it in Windows/System32 ...But the problem still remains.
As I understand pre-built version of OpenCv is suited for VS 2010 or earlier versions.
What should I do to use Opencv in Vs 2012/ I wouldn't like to build the opencv libraries from scratch. Maybe is there another simpler way ???

If somebody has the pre-buil 2.4.2 for VS 2012 please give a link.

Thanks in advance
Tags: C++

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900