Page 1 of 1

Compiling server problems

Posted: 30 Aug 2006, 16:58
by rnb7
hi all.
i downloaded the themanaworld DevPack, installed DevC++ and then installed the DevPack. Then I tryed to compile it, but it appears that i'm missing some kind of standart *nix libraries for Windows (e.g. *nix header files under /sys, some network files - In.h and some others, which appers to be standart on *nix systems) . where i can download these standart headers for windows ?

its a win98 box

Posted: 30 Aug 2006, 17:00
by Matt
Well I've never heard of some standart headers, i know standard headers but...

<Zombiemode>
AAAAAH NEED MOOOORE DETAILS, INFORMATIONS, BRAINS...

Posted: 30 Aug 2006, 17:04
by LadyMarie27
Maybe he means the includings which arent included in Dev C++,
atleast I remember when I had Dev C++ they didnt putted in the includes/classes from like Visual Studio.

Posted: 30 Aug 2006, 17:33
by Crush
Did you set up the path for the sdl includes like described during the installation of the devpak?

Posted: 30 Aug 2006, 19:39
by rnb7
Crush wrote:Did you set up the path for the sdl includes like described during the installation of the devpak?
yes. i'm missing these files when trying to compile the tmw_server. I think they are some kind of standard *nix files. The problem is that I down't know where to download their win version.
Compiler: Default compiler
Building Makefile: "D:\eathena\Makefile.win"
Executing make...
make.exe -f "D:\eathena\Makefile.win" all
g++.exe -c src/char/char.c -o src/char/char.o -I"D:/DEV-CPP/lib/gcc/mingw32/3.4.2/include" -I"D:/DEV-CPP/include/c++/3.4.2/backward" -I"D:/DEV-CPP/include/c++/3.4.2/mingw32" -I"D:/DEV-CPP/include/c++/3.4.2" -I"D:/DEV-CPP/include" -I"D:/Dev-Cpp/include/SDL" -I"D:/Dev-Cpp/include" -I"D:/eathena/src/common"

src/char/char.c:5:24: sys/socket.h: No such file or directory
src/char/char.c:8:24: netinet/in.h: No such file or directory
src/char/char.c:11:23: sys/ioctl.h: No such file or directory
src/char/char.c:16:23: arpa/inet.h: No such file or directory
src/char/char.c:17:19: netdb.h: No such file or directory
In file included from src/char/char.c:21:

....

// more lines with errs ...

Posted: 31 Aug 2006, 08:49
by LadyMarie27
Yes, as it looks you are missing the common libary files or they are in the wrong folder. Cant give you a download link for them but maybe google'ing after those may give you one.

Posted: 31 Aug 2006, 13:53
by ElvenProgrammer
The devpak is meant to compile tmw client and will work only with that. It doesn't work completely with tmwserv and doesn't at all for eAthena. In order to compile eAthena you need to use cygwin (AFAIK it's the only way) or get the precompiled binaries and you're done. If you still want to compile it there's a cywin tutorial at eAthena's website.

Regards

Posted: 31 Aug 2006, 19:01
by rnb7
ElvenProgrammer wrote:or get the precompiled binaries
from where ? thats what i'm asking :roll:

Posted: 31 Aug 2006, 19:11
by ElvenProgrammer
rnb7 wrote:
ElvenProgrammer wrote:or get the precompiled binaries
from where ? thats what i'm asking :roll:
Well that wasn't exactly what you asked for, anyway http://platinum.linux.pl/users/athena/e ... er.tar.bz2