-
Notifications
You must be signed in to change notification settings - Fork 0
Building TomeNET
General installation guide from the TomeNET Guide:
https://tomenet.eu/guide.php?chapter=2.1
Another installation guide by Mikaelh:
https://muuttuja.org/tomenet/installation-linux.php
Sound support for cross-compiling with MinGW on Linux(by Mikerlh):
https://muuttuja.org/tomenet/howto-install-sdl.txt
I had to build iconv for my compiler (i686-w64-mingw32) to build SDL_mixer
https://www.gnu.org/software/libiconv/
And add --disable-sdltest flag to succsessufully build SDL_mixer.
Compiled server for Windows by tokariew:
https://www.tomenet.eu/phpBB3/viewtopic.php?f=15&t=586
Also you need regex lib for your compiler. I use pcre2 for i686-w64-mingw32(for cross-compiling).
https://www.pcre.org/
Because i use pcre2 instead of mingw-libgnurx i made some changes:
- use pcre2-posix lib instead of regex (makefile.mingw)
- include pcre2posix.h instead of regex.h (c-cmd.c)
- add libpcre2-8-0.dll and libpcre2-posix-2.dll into client dir