Debugging OpenCV from Eclipse CDT

asked 2016-12-01 04:07:45 -0500

lovaj gravatar image

I want to contribute OpenCV trying to make a parallel version of SIFT. I want to use Eclipse CDT to do this.

My idea is to use a simple SIFT application (that I already have) and place various breakpoints in SIFT's source code. The problem is that I don't know how to debug a 3rd party library in Eclipse CDT.

I found this question and in fact I will build OpenCV with the -DCMAKE_BUILD_TYPE=Debug option, but I have the suspect that this is not the only thing to do. For example I don't know how to include the OpenCV source code in my project (and if there are other problems too).

Can someone help me?

edit retag flag offensive close merge delete