EOSERV Wiki > Page: Compiling EOSERV > History > View Revision

View Revision: Compiling EOSERV

Download

Download the following programs and files if you don't have them already.

Set up

Install Code::Blocks and TDM-GCC.
Extract the EOSERV source to the directory where you want to set up your server (e.g. C:\eoserv).
Extract archive containing the needed files to your EOSERV directory.

Configure

Open the EOSERV project file (eoserv\project\mingw.cbp). Code::Blocks will load the project.
Open '''Project > Build options''' and go to the '''Search directories''' tab.
Go to the '''Compiler''' tab. Add '''"..\include"''' (without quotation marks).
Go to the '''Linker''' tab. Add '''"..\lib"'''.

Build

In the upper left corner, select a build target from the drop down menu.
  • Targets containing '''DEBUG''' are for debug builds.
  • Targets containing '''MYSQL''' are for MySQL-supportive builds.
  • Targets containing '''SQLITE''' are for SQLite-supportive builds.
Go to the '''Build''' menu and select '''Build'''.
EOSERV Wiki > Page: Compiling EOSERV > History > View Revision