provide all (boost,.. whatever) libs to gcc in Freebsd and Ubuntu
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 ....
Could it be you are looking for pkg-config ? If so, it's in ports in devel.
Usage: pkg-config --libs --cflags libraryName
You need to use -L and -l options with g++
加载中,请稍侯......
精彩评论