2

我只是尝试在 Debian 9 上编译最新的 AzerothCore 并没有接触源代码,只是将其拉出来并完全使用安装指南中描述的 sh。CMake 给了我这个错误:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ACE_INCLUDE_DIR (ADVANCED)

带有最新 AzerothCore 的 Debian 9。Ace 肯定安装了他们的最新版本。

预期:没有错误。实际结果:错误。

4

2 回答 2

3

sudo apt-get update然后做sudo apt-get install libace-6.* libace-dev

目前为我自己工作的当前版本是 6.3.3。另外,我不使用 sh 安装程序,所以不确定这是否是您的问题。

我只是用cmake ../ -DCMAKE_INSTALL_PREFIX=/home/youruser/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1

于 2019-02-07T06:36:53.040 回答
3

我从 TrinityCore 要求开始,遗憾的是忘记安装 AzerothCore 所需的 libace。需要sudo apt-get install libace-6.* libace-dev喜欢 DJ Boxer 的建议。

于 2019-02-07T08:35:14.720 回答