Page 1 of 1

problem with running new server

Posted: 07 Apr 2006, 16:47
by Crush
i wanted to check out the current state of the server development to see if i can maybe help somewhere. so i downloaded the current snapshot from svn. it compiled without any problems with Dev-C++ 4.9.9.2 (using gcc 3.4.5). But when i try to start it on Windows XP a console window opens, a windows popup appears (twice), stating that the application could not be properly initialized (0xc0000005) and the console window closes. Is there anyone who got an idea what the problem might be?

Posted: 08 Apr 2006, 07:13
by ElvenProgrammer
Could you maybe try to debug it?

Posted: 08 Apr 2006, 13:19
by Crush
debug doesn't work at all. it starts and stops immediately without any kind of feedback. Are you using windows, too? if yes could you send me the compiled executable by email? so we could check if it is a compiler issue or a problem with my system.

Posted: 09 Apr 2006, 15:08
by ElvenProgrammer
Sent. Happy testing.

Posted: 09 Apr 2006, 17:31
by Crush
Thank you very much. the binary you sent me starts up although it exits with [FTL] SDL_Init: No available video device (for what reason does the server need a video device anyway?)

But the build you've sent me was the enet branch. the version i tried to run was the trunk version. i'm going to download and compile the enet branch and see if it works.

Posted: 18 Apr 2006, 18:59
by Crush
i had some problems with compiling enet i couldn't solve before i went on vacation and then i forgot about all this stuff. now i tried again and solved them.

but the problem "[FTL] SDL_Init: No available video device" remained. i solved it by removing the line "putenv("SDL_VIDEODRIVER=dummy");". but i am afraid that this might break the linux version.

Posted: 18 Apr 2006, 19:04
by ElvenProgrammer
It shouldn't break it, but it was added to be able to run the server through screen IIRC. Anyway we're getting rid of SDL soon, so nothing to worry about.