Monday, May 21, 2012

OpenCV+VS2010 linker error

1. OpenCV 2.4 linker error with VS2010 Problem: I have set up : Added "C:\OpenCV2.3\include;C:\OpenCV2.3\include\opencv;C:\OpenCV2.3\include\opencv2;" to Include Dir Added "C:\OpenCV2.3\lib;" to Libraries Directories And Added "opencv_core230d.lib;opencv_highgui230d.lib;opencv_video230d.lib;opencv_ml230d.l\ ib;opencv_legacy230d.lib;opencv_imgproc230d.lib;" to Additional Dependencies For Input under Linker However, when I debug, I got Linker errors Solution: change build->configuration manager->platform from win32 to x64 2. dll files not found Solution: just add the path to dll files into the working directory (inside project properties)