In order to compile the server, you need :
- SFML 2.1+
- MySQL Client Library (bundled with MySQL Client) (available in some linux's repositories : libmysqlclient-dev on Debian)
- Make sure you have the library MySQL Client installed, whether :
- package
libmysqlclient18
(18 is package's version) is installed - libmysqlclient.so available in your LD_LIBRARY_PATH (e.g in the lib folder)
- package
- Put SFML's libraries in a
lib
folder - Create a shell script named
run.sh
with :#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
./world-of-sea-server <username> <password> <address> <database>
- Replace the
<>
by MySQL database's settings - Launch
run.sh
- Make sure you have the library MySQL Client installed, whether :
libmysql.dll
is present in the same folder thatworld-of-sea-server.exe
libmysql.dll
is available in your PATH
- Make sure you have the SFML libraries installed, whether :
libsfml-network.dll
andlibsfml-system.dll
are present in the same folder thatworld-of-sea-server.exe
- both are available in your PATH
- Create a batch script named
run.sh
with :start world-of-sea-server.exe <username> <password> <address> <database>
- Replace the
<>
by MySQL database's settings - Launch
run.bat