CMake 错误:找不到变量.ACE_INCLUDE_DIR(高级)
CMake Error: variable is NOTFOUND. ACE_INCLUDE_DIR (ADVANCED)
我只是尝试在 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)
Debian 9 与最新的 AzerothCore。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
我从TrinityCore的要求开始,遗憾的是忘记安装AzerothCore所需的libace。需要像DJ Boxer建议的那样sudo apt-get install libace-6.* libace-dev
。
相关文章:
- 既然存在危险,为什么项目要使用-I include开关
- 在UNIX系统中使用DIR查找文件的字节大小
- 有充分的理由在h文件中使用include保护而不是cpp文件吗
- 如何将更多文件夹添加到c++include路径
- 什么是"#include <boost/functional/hash.hpp> "?
- 对于MacOS上的G++,如何添加默认的include目录/usr/local/include和默认的库搜索路径/usr
- C++包含来自 #include "DevEngine/Core.h" 的错误
- <filesystem> 在 clang 6 和 10 上 #include 错误
- 在 void 函数中使用 #include 变量C++
- N-API include an .so or dll
- 允许哪些令牌作为 #include 的参数?
- GCC 包含标头(使用"-include")CMake 未检测到的更改
- WebAssembly include OpenCV
- 如何在 c++ 中正确指定 #include 路径以使程序可移植
- 修改生成文件以简化框架 #include 路径
- VS2015/VC++ 在新类模板中禁用默认 #include "stdafx.h"
- macOS 致命错误:sys/_types/_int8_t.h:没有此类文件或目录 #include < sys/_types/_int8_t.h>
- #include < conio.h> 和 getch() 方法之间的关系是什么?
- 如何将构建的C++库安装到 /usr/include?
- OSX 10.11.6 Make找不到指定的头文件——include-dir不起作用