Compiling NINJAM Server on Windows
I've seen a few posts lately saying "can't get it working". This worked for me:
Download the attached Eclipse project (after installing Eclipse, of course, along with MingW GCC, and getting all that working - not explained here!), drop the 0.06 server source into the "ninjamsvr" folder, then import the project into a workspace. (Hopefully that'll work...)
Make the following changes (these should apply whether you're using Eclipse or not):
1) in ninjam/server/ninjamsrv.cpp, add #include <ctype.h> to the "#ifdef _WIN32" section
2) in ninjam/server/makefile, comment out "CFLAGS += -pthread"
3) in ninjam/server/makefile, append "-lwsock32" to the $(CXX) line near the end
The project should then build clean.
(I can imagine there being problems on Linux, too - the ctype.h might help and there needs to be a library providing the network functions but I forget what it is.)
It's up for testing on thermaltake.dnsalias.net:2049 if you want to try it.
__________________
Quote:
Originally Posted by Tony Williams
...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world.
|
Last edited by pljones; 11-21-2008 at 02:40 PM.
Reason: test host added
|