我只是尝试在debian9上编译最新的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的Debian9。Ace肯定是安装了他们的最新版本。
预期:无错误。实际结果:错误。
发布于 2019-02-07 14:36:53
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-07 16:35:15
我从TrinityCore需求开始,遗憾的是忘记了安装AzerothCore所需的库。需要像DJ Boxer建议的那样使用sudo apt-get install libace-6.* libace-dev
。
https://stackoverflow.com/questions/54561218
复制相似问题