boost lib naming are missing

后端 未结 2 1205
北海茫月
北海茫月 2021-01-22 06:19

I\'ve downloaded boost and built it, and not for the first time, but then things started to seem weird.

At first I got these errors while compiling my project (which use

2条回答
  •  梦谈多话
    2021-01-22 06:54

    In your boost repo, make sure you've run ./bootstrap.sh with --prefix= if you want it in a non default location. You don't need this argument though.

    You can run run the ./b2 command from the same directory after this to install boost once again with the --prefix= option if required. You may have to remove all previous build files from your build/install directory before trying to do this.

    Also, make sure you have the correct version for your machine. I used http://downloads.sourceforge.net/boost/boost_1_58_0.tar.bz2 for mine (OpenSUSE 13.1 64 bit)

提交回复
热议问题