Need Server Compile Help

Discussion about topics that don't fit elsewhere.
Post Reply
Kilzfire
Posts: 9
Joined: Sat Jun 24, 2017 6:34 pm

Need Server Compile Help

Post by Kilzfire »

The only thing I could find out there on the net for compiled server versions was a 2009 4.5.5 version. So I set out to compile the source offered myself. I have learned one thing. I have no idea how to compile this.

Would anyone be so kind as to give a quick and dirty on getting a working Windows Server version compiled?

My friends and I found Mangband and really want to try out TomeNET but we don't want to play on the public server. And we would like to be able to compile new versions that come out.

~Kilzfire
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Need Server Compile Help

Post by tokariew »

https://tomenet.eu/phpBB3/viewtopic.php?f=15&t=586 this is my version, i try to update compiled version within few days after update :)
i posted some instruction about compiling, but they are about cross-compile from Linux machine…
img {
max-width: 100%;
}
https://tokariew.xyz
Kilzfire
Posts: 9
Joined: Sat Jun 24, 2017 6:34 pm

Re: Need Server Compile Help

Post by Kilzfire »

Thanks we just used your compiled version and we are up and running!

I am still interested in how someone would compile the server source on a windows PC. I downloaded every free compiler that exists and still got no where using the makefile.win
User avatar
the_sandman
Developer
Posts: 150
Joined: Sun Dec 13, 2009 6:52 pm

Re: Need Server Compile Help

Post by the_sandman »

Thanks, Tokariew!

If you're running windows 10, you could also look into the WSL (linux on windows thing). I haven't tried myself but it should work in theory.
User avatar
tokariew
Posts: 373
Joined: Thu May 13, 2010 8:20 pm
Location: Poland

Re: Need Server Compile Help

Post by tokariew »

I should be probably scolded… official build didn't work for me, for some unkown reason so i started to compile my own…


yep the WSL work, so you can install "Bash on Ubuntu on Windows" :) download source, install essential, etc…
you need

Code: Select all

sudo apt-get install build-essential libsdl-mixer1.2-dev libsdl1.2-dev
and finally make and move it to main tomenet folder.

Code: Select all

make tomenet.server
strip tomenet.server
no you don't want see naked server, you just want to delete some stuff from it, which only occupy space (usefull if you want debug…)
img {
max-width: 100%;
}
https://tokariew.xyz
Post Reply