c++ - CMake 错误 : variable is NOTFOUND. ACE_INCLUDE_DIR(高级)

标签 c++ cmake debian ace azerothcore

我只是尝试在 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 肯定安装了最新版本。

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

最佳答案

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

关于c++ - CMake 错误 : variable is NOTFOUND. ACE_INCLUDE_DIR(高级),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54561218/

相关文章:

类中的 C++17 变体<any>

gcc - CLion:错误:C 编译器 "C:/MinGW/bin/gcc.exe"无法编译简单的测试程序

c++ - OpenCV cmake 构建总是在 Windows 中抛出错误

java - Android 唯一 key

Debian 上的 Ubuntu 存储库

java - 如何在 tomcat 8 上禁用特定 api 调用的 ssl 连接?

c++ - 双端队列上的多种类型?

c++ - C++的delete和delete[]中的逻辑

c++ - SystemVerilog DPI 将字符串从 C++ 返回到 verilog - 最后是 ASCII 字符?

cmake - MSBuild:错误 MSB3073 命令 'setlocal VCEnd' 已退出,代码为 1