SDL_net Crash my app when inits

Hi!, i was testing my engine after add it SDL_Net support and however i try,
it just crashes when i execute the test application.
AFAIK this should be a problem of mine, does anybody else have this problem?

I’m working in C++, using de MinGW compiler under Windows.

Thanxs–
Phantom Lord
Caelis Studios —> From Gods Hands To Yours

Phantom Lord wrote:

Hi!, i was testing my engine after add it SDL_Net support and however i
try, it just crashes when i execute the test application.
AFAIK this should be a problem of mine, does anybody else have this problem?

I’m working in C++, using de MinGW compiler under Windows.

I am running MinGW 5.0.2/Msys 1.0.10. I have tested the MinGW dev
distribution of SDL_net, initialization and exit only, nothing
went kaboom. I did:

 /* test linkage of SDL_net */
 if (SDLNet_Init() == -1) {
     fprintf(stderr, "Couldn't initialize SDL_net: %s\n", 

SDLNet_GetError());
result = 1;
} else {
SDLNet_Quit();
}

which may or may not be of help, but at least the calls work.

I could not compile all the test programs yet, though, so I
haven’t completely tested my setup. One test program uses select()
on the keyboard, I think.–
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia