当前位置: 首页 > news >正文

AzerothCore安装记录

尝试在FreeBSD系统下安装AzerothCore

首先安装相关软件

pkg install cmake mysql80-server boost-all

装完mysql之后提示:

MySQL80 has a default /usr/local/etc/mysql/my.cnf,
remember to replace it with your own
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.

安装和编译AzerothCore

# 下载软件
git clone https://github.com/azerothcore/azerothcore-wotlk.git --branch master --single-branch azerothcore# 创建build目录并进入该目录
cd azerothcore && mkdir build && cd build# cmake配置
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=static# 编译
make -j 8# 安装
make install

如果git 失败,可以尝试加上参数-depth 5

目前情况

编译没通过,好像freebsd编译不过去。

调试

编译报错fatal error: arithmetic on a pointer to the function type 'char *(int, int)'

/root/github/azerothcore/src/common/Utilities/Timer.cpp:250:17: fatal error: arithmetic on a pointer to the function type 'char *(int, int)'
    return time + timezone;
                ^ ~~~~~~~~
1 error generated.
--- src/common/CMakeFiles/common.dir/Utilities/Timer.cpp.o ---
*** [src/common/CMakeFiles/common.dir/Utilities/Timer.cpp.o] Error code 1

make[2]: stopped in /root/github/azerothcore/build
1 error

http://www.lryc.cn/news/309749.html

相关文章:

  • Infineon_TC264智能车代码初探及C语言深度学习(一)
  • [Redis]——初识Redis
  • YTM32的同步串行通信外设SPI外设详解(Master Part)
  • 【C语言】三子棋
  • Web组态可视化编辑器 快速绘制组态
  • WebServer -- 注册登录
  • C3_W2_Collaborative_RecSys_Assignment_吴恩达_中英_Pytorch
  • Elasticsearch使用function_score查询酒店和排序
  • iOS消息发送流程
  • 【接口测试】常见HTTP面试题
  • 服务器硬件基础知识
  • matlab实现层次聚类与k-均值聚类算法
  • 【机器学习】包裹式特征选择之递归特征消除法
  • 【ArcGIS】重采样栅格像元匹配问题:不同空间分辨率栅格数据统一
  • Qt 简约又简单的加载动画 第七季 音量柱风格
  • 【JS】数值精度缺失问题解决方案
  • c++基础知识补充4
  • leetcode230. 二叉搜索树中第K小的元素
  • 医学大数据|文献阅读|有关“肠癌+机器学习”的研究记录
  • Linux信号【systemV】
  • node.js最准确历史版本下载
  • UE5 C++ 单播 多播代理 动态多播代理
  • 前端学习、CSS
  • Flink基本原理 + WebUI说明 + 常见问题分析
  • 3. 文档概述(Documentation Overview)
  • 【vue3 路由使用与讲解】vue-router : 简洁直观的全面介绍
  • ubuntu创建账号和samba共享目录
  • 李沐动手学习深度学习——3.6练习
  • 机器学习_10、集成学习-Bagging(自举汇聚法)
  • 【力扣hot100】刷题笔记Day20