Skip to content

Windows Development

Enno Rehling edited this page Jun 3, 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.

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.