For OpenCV 2.4.2, running under 64-bit Windows 7 (x64), I want to use the Visual Studio 2010 debugger to step through cv::calcHist(). I have downloaded the source code, but for the debugger to work, it needs the symbol file (.pdb). How can I get the appropriate symbol files?
The linker has C:\Program Files\OpenCV\build\x64\vc10\lib and C:\Program Files\OpenCV\build\x64\vc10\bin as Linker / General / Additional Library Directories, and opencv_highgui242d.lib, opencv_core242d.lib. opencv_imgproc242d.lib, opencv_ml242d.lib and opencv_video242d.lib as Linker / Input / Additional Dependencies.