Compiling Problem
#1
I'm running mingw.bat and it's not compiling properly, I get the following error:

"server.cpp: undefined reference to 'SDL_main(int, char**)"

Here's a link to the complete output:
http://pastebin.com/yLtbFCeh

Thanks!
Thanks given by:
#2
Are you sure that's the newest source? IIRC the bug of the server needing SDL was fixed with 1.1.02/1.1.03 or something like that...
Thanks given by:
#3
I got the source code from the SVN repo, is that the wrong place to get it?
Thanks given by:
#4
The game comes with source code. I don't think you need to get it from subversion, though that is supposed to be the most recent.
Thanks given by:
#5
If you want to test out the SVN, then it is the right place but for normal use it is better to use: https://sourceforge.net/projects/actiong...2/download
I've had problems compiling the SVN repo occasionally. And source code only comes with Linux version :D
Thanks given by:
#6
I made a directory '../../bin_win32'

And I got the same error compiling the source code that Gibstick linked.
Thanks given by:
#7
I suppose it wouldn't make a difference if you used a different compiler, though GCC and Visual Studio 2008 work for me.
Thanks given by:
#8
Try using this one: http://nuwen.net/mingw.html (GCC 4.5.1 and Boost 1.44.0)
Thanks given by:
#9
Looks like you don't have SDL set up properly inside MinGW. I can't help you here (I don't have MinGW), but you might just try a web search for
undefined reference to `SDL_main(int, char**)' +mingw
or something like that.
Thanks given by:
#10
make sure you have the source\vcpp directory
\source\vcpp\SDL_win32_main.c is the file the compiler needs.

I use MinGW as my main compiler and no problems here.

Another thing is that MnGW is not set up properly, where did u get it from?
Thanks given by: