c++ - Is there a way to search for functions among a large folder of libraries (.a and .so files) in UBUNTU? -
I have a project in Eclipse using a library and I include any files without your project (directory included Can I import trouble?)
In Ubuntu, searching for works through a list of libraries is a tool, but I do not know which libraries to include (I know library paths with library libraries). ? "NM" is a device that lists all the exported libraries, structure variables, etc. of a particular library, if there is no "function for fashion" tool, then I must write a program that uses "nm" Search for works
Adding the link to the project's ownership of your libraries and headers, you You can use autocomplete, where the problem Or?
If you are using Foo Library, you must link:
c / c ++ build-> settings-> c + + link-> gt; ; In the list c / c ++ build-> settings-> c ++ compiler-> gt; Keep it.
Put * .h Foo Path.
Then in your program .. main.cpp
#include & lt; Foo /a.h> Int main (A); a. } When you click on "dot" then you see all available one method, assume that the print method of A
int main () {A a; a print(); } You can go to the definition of method print () by: Ctrl + RightClick
Comments
Post a Comment