Undefined reference to boost::timer::auto_cpu_timer

后端 未结 1 1473
轮回少年
轮回少年 2021-01-17 16:45

I try to compile small .cpp file with boost library on remote server on Debian using g++ 4.4. I use Netbeans for this purpose. My home machine is on windows 7. After resolvi

相关标签:
1条回答
  • 2021-01-17 16:56

    You need to link against boost_timer. Add -lboost_timer to the gcc command line. Consult the Netbeans documentation on how to add libraries to a project.

    0 讨论(0)
提交回复
热议问题