http://blog.csdn.net/llq108/article/details/73551190
3.添加头文件依次找到
Header Search Paths: 添加#include <>的路径
User Header Search Paths: 添加#include “”路径
4.添加库文件
Library Search Paths: 添加库所在目录
Other Linker Flags: 比如要链接的库是libboost_regex.a,那么此处应该添加-lboost_regex即可。