./configure-无需任何此类文件或目录 [英] ./configure--with-boost no such file or directory

查看:101
本文介绍了./configure-无需任何此类文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用./configure终端返回时:

When I used ./configure the terminal returned:

正在检查Boost头版本> = 1.41.0 ...否配置:错误: 找不到Boost头版本> = 1.41.0

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

所以我也使用了命令"./configure-with-boost=/usr/include",但它只返回

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

没有这样的文件或目录

No such file or directory

我将最新版本的Boost标头提取到/usr/include

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

推荐答案

--with-boost=...是命令行选项,必须与可执行文件名和其他参数(即

--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

这篇关于./configure-无需任何此类文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆