How to link boost libraries properly in Linux

前端 未结 2 1688
死守一世寂寞
死守一世寂寞 2021-02-08 20:37

I\'ve been trying to go through Boost tutorials but I got stuck at linking the filesystem library.

I have Ubuntu 12.10. Installation wasn\'t that hard

su         


        
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-08 21:25

    The -L command should be the base path where the libraries are contained, not the path to a specific library. Try with -L /usr/lib/ instead.

提交回复
热议问题