c++ - CMake 错误:变量未找到。ACE_INCLUDE_DIR(高级)
问题描述
我只是尝试在 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
推荐阅读
- python - 提交按钮不适用于 wtforms ,没有发送到服务器的发布请求。如何解决这个问题?
- istio - 使用 istio ingress 时安装 ALB 而不是 CLB:istio version1.7.3
- javascript - UseEffect - React Hook useEffect 缺少依赖项:
- node.js - Strapi 和 React 的单独端口不能在同一个域下工作
- average - 计算栅格图层的平均值
- excel - 寻找在体内起作用的excel公式
- sql - Oracle SQL - ORA-00936:缺少表达式
- excel - VBA IF 语句 - 遍历列 A 并在所有行仅以字母 E 、 S 开头时执行
- javascript - 如何忽略空格、大小写和标点符号
- javascript - ReferenceError:找不到变量:firebase 全局代码