Ask Your Question
0

How to build OpenCV 2.4.2 on ubuntu for sorce-level debugging

asked 2012-11-06 13:28:28 -0500

TsurH gravatar image

I am trying to achieve source-level debugging when installing opencv on ubuntu 12.10. I a using cmake-gui to generate the makefile from the source folder. tried setting

CMAKE_BUILD_TYPE : Debug;

make

make install

I do get the .so libs and the include files in the right place but when I do "step into" in eclipse the debugger just steps over it, instead of stepping into the source code.

BTW in windows I managed this by linking my code against the debug libs e.g cvcore242d.lib

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-02-14 06:50:42 -0500

Azarm gravatar image

I got the same problem by using ubuntu-16.04.3, Qt5.10.0 and opencv-2.4.13.5. When I do "step into" in Qt, the debugger steps over too.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-11-06 13:28:28 -0500

Seen: 574 times

Last updated: Nov 06 '12