我需要帮助来编译和配置netbeans 7.1.1中的boost库,让我添加它,我添加了在编译器选项中提取boost zip文件夹的路径,但它没有帮助我,当我包括
#include <boost/thread.hpp>
编译时导致错误
fatal error :no such file or directory
我写的时候加上它: -
#include <boost/thread.hpp>//does shows the options out of which thread.hpp is one
任何帮助人员!!!
答案 0 :(得分:0)
boost :: thread除了头文件外还需要一个编译库。 (我假设你使用的是Windows并拥有netbeans c ++插件)要编译netbeans库,你需要使用cygwin并按照boost.org上的步骤,使用toolset=gcc
标志和任何调用b2 install
时需要的其他标志。对于每个步骤,请在运行命令之前尝试--help
。