Reputation: 21241
What commands are there to tell g++ to use all .so libs of a library like boost or opencv in a system?
I mean not to link it one by one manually like g++ /usr/local/lib/libboost_filesystem.so ...
.
Forgot such command in ubuntu and don't know what is it in FreeBSD.
Upvotes: 2
Views: 129
Reputation: 182734
Could it be you are looking for pkg-config
? If so, it's in ports in devel
.
Usage: pkg-config --libs --cflags libraryName
Upvotes: 2