Compiling EOSERV
Download
Download the following programs and files if you don't have them already.- Code::Blocks IDE (without MinGW, latest version)
- TDM-GCC compiler (bundle installer MinGW/SJLJ, latest version)
- EOSERV source (latest revision)
- Needed files
Set up
Install Code::Blocks and TDM-GCC.Code::Blocks
- Type of install: Custom (default)
- Installation directory: %ProgramFiles%\CodeBlocks (default)
- Edition: MinGW based installation (32-bit) (default)
- Installation directory: %ProgramFiles%\CodeBlocks\MinGW32 (change)
- Type of install: TDM-GCC Recommended, C/C++ (default)
- For the newest version (currently 305), add the files from the '''"\include\"''' folder to '''"\src\"'''.
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.- '''DEBUG''' targets are for debug builds.
- '''MYSQL''' targets are for MySQL-supportive builds.
- '''SQLITE''' targets are for SQLite-supportive builds.