Skip to content

Windows Development

Enno Rehling edited this page Apr 26, 2018 · 10 revisions

If you want to work with the source code on Windows, then that is possible! I would not recommend running a game from a Windows host, because Linux offers much better tools for managing a running game, but for development, Windows can be really nice.

Software prerequisites

First up, make sure you have the following software installed. This is the setup that I use, other software may also work, but I have not tried it.

Expat

In the future, I plan to use expat instead of libxml. I am currently using the download from Sourceforge for this, and have installed them to the C:\Users\Enno\Documents\Eressea\dependencies-win32 directory.

CMake Configuration

  • CMAKE_MODULE_PATH PATH C:/Users/Enno/Documents/Eressea/server/cmake/Modules
  • CMAKE_PREFIX_PATH PATH C:/Users/Enno/Documents/GitHub/dependencies-win32;c:/Program files (x86)/Lua/5.1
  • CMAKE_SUPPRESS_REGENERATION true

Problems

The procedure entry point gzdirect could not be located in the dynamic link library zlib1.dll.

You have more than one version of zlib1.dll on your system, and one of them is older than the one in dependencies-win32.

Clone this wiki locally