Saturday, December 31, 2011

Can't Step into Functions in Library That a Project is Using

Problem: Can't step into the OpenCV source code files that had been compiled into a .lib to be used in other projects from within Eclipse.

Explanation: if the OpenCV source wasn't built on your machine, you may not have the .pdb files that were generated and dumped into the /bin directory. These files are necessary for stepping into the code.

Solution: Either get the .pdb files from the original build or rebuild OpenCV to generate them, and place them in the Visual Studio source directories list (Tools -> Options -> VC++ Directories -> Source Files)

No comments:

Post a Comment