Compiling server problems
Compiling server problems
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
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
- LadyMarie27
- Peon
- Posts: 15
- Joined: 26 Aug 2006, 21:30
Did you set up the path for the sdl includes like described during the installation of the devpak?
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
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.Crush wrote:Did you set up the path for the sdl includes like described during the installation of the devpak?
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 ...
- LadyMarie27
- Peon
- Posts: 15
- Joined: 26 Aug 2006, 21:30
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
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
Regards
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Well that wasn't exactly what you asked for, anyway http://platinum.linux.pl/users/athena/e ... er.tar.bz2rnb7 wrote:from where ? thats what i'm askingElvenProgrammer wrote:or get the precompiled binaries