./configure--with-boost no such file or directory

2019-05-31 06:32发布

When I used ./configure the terminal returned:

checking for Boost headers version >= 1.41.0... no configure: error: cannot find Boost headers version >= 1.41.0

So i used the command "./configure-with-boost=/usr/include" also but it only returns

No such file or directory

I have the latest version of Boost headers extracted to /usr/include

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-05-31 07:15

--with-boost=... is a command line options that must be separated with at least one whitespace from the name of the executable and the rest of arguments, i.e.

./configure --with-boost=/usr/include
查看更多
干净又极端
3楼-- · 2019-05-31 07:17

I have solved the problem it was just some developmental libraries were missing and it was giving the boost error instead to cover for this.

查看更多
登录 后发表回答