Skip to content

wuhelei/YTSvrLib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTSvrLib TravisCI Status AppVeyor Status

a simple game server library for linux/windows

Install Windows

1.Install Visual Studio 2013.

2.Start with YTSvrLib.sln

3.Build solution, get the YTSvrLib.lib

4.Use the .lib in your project.

Install Linux

1.Install dependent libraries : libiconv libevent2 libcurl libhiredis libmysqlpp libmysqlclient libpthread libtcmalloc(The lib mysqlpp must use the version in the third_party/)

2.cd src && ./configure && make install

3.You can get libytsvrlib.so.

4.Use the libytsvrlib.so in your project.

How to use

See the project "Sample".

在Windows下使用

1.安装 Visual Studio 2013

2.使用YTSvrLib.sln打开项目

3.编译项目,你可以得到YTSvrLib.lib

4.在你的工程中链接lib

在Linux下使用

1.先安装以下依赖库 : libiconv libevent2 libcurl libhiredis libmysqlpp libmysqlclient libpthread libtcmalloc(mysqlpp 需要用项目中third_party里带的版本,因为本人对原本的库做了点小修改)

2.cd src && ./configure && make install (或者你可以直接用./makeall.sh来获得DEBUG版本或者./makeall_release.sh来获得release版本)

3.你将会得到libytsvrlib.so

4.将它用在你的项目中.

如何使用

请参考"Sample"项目了解使用方法.

About

a simple game server library for linux/windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 68.4%
  • C 29.5%
  • Objective-C 1.6%
  • Pascal 0.5%
  • Shell 0.0%
  • CMake 0.0%