fluffos连接mysql_Fluffos 中文文档

网站重新编写中,本站非官网,本站仅个人爱好为广大初学者提供文档平台.

v2019编译指南v2019支持在Ubuntu18.04或WSL(Windows子系统)或OSX最新版本MSYS2/mingw64上构建。

v2019 主要更新:

UTF-8支持.

Websocket支持.

v2019至少需要gcc 版本7以上

如果需要使用jemalloc 请自行编译wget https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2

tar -jxvf jemalloc-5.0.1.tar.bz2

cd jemalloc-5.0.1

sudo apt-get install autogen autoconf

./autogen.sh

make -j2

sudo make install

sudo ldconfig

安装所用的库(非新手请自行过滤)sudo apt install build-essential bison libevent-dev libmysqlclient-dev libpcre3-dev libpq-dev libsqlite3-dev libssl-dev libz-dev libjemalloc-dev libicu-dev openssl pcre mysqlclient

安装升级cmakesudo pip install --upgrade cmake

下载源码git clone https://gitee.com/mudcn/fluffos.git

cd fluffos

git checkout v2019

开始编译mkdir build

cd build

cmake ..

make install

编译完成

常见问题-- Looking for C++ include sys/stat.h

CMake Error in /mnt/f/mud/fluffos/fluffos/build/CMakeFiles/CMakeTmp/CMakeLists.txt:

Target "cmTC_ab390" requires the language dialect "CXX17" , but CMake does

not know the compile flags to use to enable it.

CMake Error at /usr/share/cmake-3.10/Modules/CheckIncludeFileCXX.cmake:55 (try_compile):

Failed to generate test project build system.

Call Stack (most recent call first):

src/CMakeLists.txt:201 (CHECK_INCLUDE_FILE_CXX)

-- Configuring incomplete, errors occurred!

说明你gcc版本太低.请升级gcc

sudo apt install g++-7

sudo apt install g++7

sudo apt install gcc-7

#然后根据你得配置进行

ln -s gcc-7 gcc-- Found Libevent: /usr/lib/x86_64-linux-gnu/libevent.so (found suitable version "2.1.8-stable", minimum required is "2.0") found components: libevent pthreads -- The following ICU libraries were not found:

-- uc (required)

-- dt (required)

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY

_ICU_REQUIRED_LIBS_FOUND)

Call Stack (most recent call first):

/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

/usr/share/cmake-3.10/Modules/FindICU.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

src/CMakeLists.txt:225 (find_package)

缺少对应库 执行

sudo apt-get install libicu-dev

解决

以下是老的

修复移动端手机浏览器显示bug 2019/01/28

修复几个页面bug 现在可以在线编辑和创建了

现在有v2017和v2019两个版本,稍后进行补充内容

3.x开发测试版本 2.x稳定版本

最后更新版本3.0-alpha7.4

简介 详情请查看更新日志.

向后兼容MudOS

修复大量BUG

支持最新常见的Linux版本(CentOS,Ubuntu等)

64位LPC支持,LPC int总是64位整数,float是C double

MXP, GMCP, ZLIB, Websocket support (测试). (可选)

IPv6支持(可选)

iconv支持UTF-8,编码,输出动态翻译(可选)(中文支持经测试不是很稳定)

严禁的类型检查(可选)

libevent集成等,详情请阅读文档

官方许可License

This game, LPmud, is copyright by Lars Pensj|, 1990, 1991.

Source code herein refers to the source code, and any executables created from the same source code.

All rights reserved. Permission is granted to extend and modify the source code provided subject to the restriction that the source code may not be used in any way whatsoever for monetary gain.

The name MudOS is copyright 1991-1992 by Erik Kay, Adam Beeman, Stephan Iannce and John Garnett. LPmud copyright restrictions still apply.

In addition, the entire package is copyright 1995 by Tim Hollebeek.

FluffOS is a range of patches to MudOS distributed as the patched source tree for convenience. LPmud and MudOS copyright restrictions still apply.

友情声明

2019年逐步更新

本站资料大部分来源于网络,站长是爱好者不懂英文,只是希望多一些资料让大家了解而已,勿喷。

感谢以下人员Sunyc(Fluffos主要维护人员)

Spock @ FF 97

发现号(Find@tx)

Naihe@sz等诸多为中文MUD付出的人们。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值