首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >cmake找不到助推

cmake找不到助推
EN

Ask Ubuntu用户
提问于 2016-09-24 08:27:18
回答 1查看 5.2K关注 0票数 0

我正在尝试编译软件"TrinityCore“。在这里对这个过程进行了详细的解释:https://trinitycore.atlassian.net/wiki/display/tc/Linux+Core+Installation

在安装了包括libboost-all-dev在内的依赖项之后,我使用了解释过的cmake。在寻找一些boost库时,它停止了配置(参见下面)。

奇怪的是,我安装了所需的包,并且在

代码语言:javascript
复制
/usr/include

与缺少的库的名称相匹配。

我在这里也尝试过这个解决方案:Cmake找不到助推,但不幸的是没有成功。

有人知道我做错了什么吗?

谢谢你的问候!

在这里,准确的错误消息:

代码语言:javascript
复制
  Unable to find the requested Boost libraries.

  Boost version: 1.58.0

  Boost include path: /usr/include

  Could not find the following static Boost libraries:

          boost_system
          boost_filesystem
          boost_thread
          boost_program_options
          boost_iostreams

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.  If you still have problems search on forum for TCE00020.
Call Stack (most recent call first):
EN

回答 1

Ask Ubuntu用户

发布于 2016-09-24 08:49:32

奇怪的是,只有重新安装UbuntuServer16.04.1起了作用。然后,我没有安装

libboost-all-dev

但只有Trinitycore所需的软件包。现在

make

一次又一次的运行没有任何问题。

通过添加选项

代码语言:javascript
复制
-DBoost_<missing package>_RELEASE=/usr/include/boost/<missing package>/

可以找到的。奇怪,因为这些只是

代码语言:javascript
复制
/usr/include/boost

已经被cmake发现了。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/828989

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档