I am using a library that is written in our university,in our code/program that I call it "X" for the sake of simplicity. I created a path to the library, in "bashrc" file and also made an environmental variable. The problem is I can just trace code X to some extents and then, in codeblocks when I try to find decleration/implementation of a function/class by right clicking on that I get an error "Not Found!".
This library includes nested files.For example, I have code X which uses namespace B, inside namespace B you can find a class named C,and inside that class (C), another class D is used in which (class D), the function F is defined!. So,when I am in code X,when function F is used I need to be able to trace the code to class D but I cannot. imagine in my example, I just can go from X to B by right clicking on a function and then, it stops there! if I try I get an error "Not Found!". it seems it cannot recognize the path of included files. It should be noted that this program/code (X) is compiled perfectly and works great! Also, cmake is used for compilation and I am using ubuntu.
And I have tried : Settings menu” and “Compiler Click the “Directories” tab add the path to the .h files for the library.... It does not work!!!
LAST thing my libraries and files are included correctly by "MY_LIBRARY" to the code.
I appreciate any suggestion.