Find implementation of OpenCV related functionality while programming [closed]
We have a CodeBlocks system (version 13.12) running with OpenCV 2.4.8. In that setup, when setting the correct searching directories, it is perfectly possible to right click on an OpenCV related function and select find implementation. This opens up the corresponding *.cpp file and the corresponding function inside that file. Same works for the find declaration option.
However, I have noticed that in the latest 2.4.11 version and in the latest 3.0 version, I am no longer able to use the find implementation option. I am wondering if under the hood something has actually changed that doesn't allow me anymore to directly debug OpenCV source code this way, since there is no way in auto retrieving the file where I need to push breakpoints.
Any guidance is appreciated!
Current Setup:
- OpenCV 3.0 built with option that enables profiling
- I added the search directories for both linker and compiler
- I have added the correct OpenCV libs using the pkg-config interface
BUMP - nobody?
are you sure that it is opencv related issue? because for example in qtcreator+opencv3 if I mark the function and press
alt+mouse right click
then it sends me to the source file where the function exists. So, my guess is that it might be CodeBlocks related or system related since it does not make automate redirect to the source code.my Search directories both for Compiler and Linker setting as below:
where the source is on :
D:\opencv-master\modules
i can use Find declaration of , Find implemention of ... etc ( OpenCV 3.0 , Windows 7)@theodore and @sturkmen, I will take a look at it and report back :D
@both it must be system related. On Ubuntu I do not have the proper content in the install directory, rather a script that copies everythin to /usr/local/lib/ for the so files and to /usr/local/include/opencv2/ for the header files. It might have something to do with the fact that those are not located somewhere related to the actual source files. Will dig deeper in this!
D:\opencv-master\build\install\include\opencv2\core\mat.hpp
this is the path for the opened file when i did "Find declaration" for Mat
Yeah okay, but find declaration is working here too. Now skip the standard mat and do a
find implementation
on for example a findContours functionality. I am more and more expecting that this has something to do with the hidden implementation strategy of OpenCV rather then with my codeblocks version, since codeblocks reports that it should work.Sorry my declaration was wrong
find implementation
also did not work to me :(