我正在尝试编译软件"TrinityCore“。在这里对这个过程进行了详细的解释:https://trinitycore.atlassian.net/wiki/display/tc/Linux+Core+Installation
在安装了包括libboost-all-dev在内的依赖项之后,我使用了解释过的cmake。在寻找一些boost库时,它停止了配置(参见下面)。
奇怪的是,我安装了所需的包,并且在
/usr/include与缺少的库的名称相匹配。
我在这里也尝试过这个解决方案:Cmake找不到助推,但不幸的是没有成功。
有人知道我做错了什么吗?
谢谢你的问候!
在这里,准确的错误消息:
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):发布于 2016-09-24 08:49:32
奇怪的是,只有重新安装UbuntuServer16.04.1起了作用。然后,我没有安装
libboost-all-dev
但只有Trinitycore所需的软件包。现在
make
一次又一次的运行没有任何问题。
通过添加选项
-DBoost_<missing package>_RELEASE=/usr/include/boost/<missing package>/可以找到的。奇怪,因为这些只是
/usr/include/boost已经被cmake发现了。
https://askubuntu.com/questions/828989
复制相似问题