hey, has anyone gotten SDL_Net to work with mingw (or dev-C++)? when i
download the binaries or source, neither has a .a file which is what i
needed to get sdl working. I cant seem to figure out how to compile sdl_net
sources into a .a file either ):
hey, has anyone gotten SDL_Net to work with mingw (or dev-C++)? when i
download the binaries or source, neither has a .a file which is what i
needed to get sdl working. I cant seem to figure out how to compile
sdl_net sources into a .a file either ):
I’m having the same trouble.
It seems that you’ll have to link SDL_net against winsock, but don’t ask me
how to do it. =(
I’ve got some results with Cygwin, but at the price of significative
performance loss.
Actualy Francesco i heard this from someone but have not yet had a chance to
test it.
They said all i needed to do was -lSDL_Net and put SDL_Net.dll in the folder
where my code was (or same place your sdlmain.dll etc is).
I hope this works…> ----- Original Message -----
From: xarvh@lombardiacom.it (Francesco Orsenigo)
To:
Sent: Monday, October 07, 2002 8:34 AM
Subject: Re: [SDL] SDL_Net with mingw
Alan Wolfe:
hey, has anyone gotten SDL_Net to work with mingw (or dev-C++)? when i
download the binaries or source, neither has a .a file which is what i
needed to get sdl working. I cant seem to figure out how to compile
sdl_net sources into a .a file either ):
I’m having the same trouble.
It seems that you’ll have to link SDL_net against winsock, but don’t ask
me
how to do it. =(
I’ve got some results with Cygwin, but at the price of significative
performance loss.
Francesco, what i told you before about being able to do -lSDL_Net does
indeed work! I could not get it to work in Dev-C++ for some reason (kept
saying -lSDL_Net not found) but i got it to work in mingw w/o Dev-C++. Just
make sure SDL_Net.dll is in your lib folder and to be analy-paranoid i also
put it in the folder with my source code. I hope this works for you as
well…
-Atrix> ----- Original Message -----
From: xarvh@lombardiacom.it (Francesco Orsenigo)
To:
Sent: Monday, October 07, 2002 8:34 AM
Subject: Re: [SDL] SDL_Net with mingw
Alan Wolfe:
hey, has anyone gotten SDL_Net to work with mingw (or dev-C++)? when i
download the binaries or source, neither has a .a file which is what i
needed to get sdl working. I cant seem to figure out how to compile
sdl_net sources into a .a file either ):
I’m having the same trouble.
It seems that you’ll have to link SDL_net against winsock, but don’t ask
me
how to do it. =(
I’ve got some results with Cygwin, but at the price of significative
performance loss.
Francesco, what i told you before about being able to do -lSDL_Net does
indeed work! I could not get it to work in Dev-C++ for some reason (kept
saying -lSDL_Net not found) but i got it to work in mingw w/o Dev-C++.
Just make sure SDL_Net.dll is in your lib folder and to be analy-paranoid i
also put it in the folder with my source code. I hope this works for you
as well…
Thanks, it will be helpful!
BTW, does anyone knows about a multiplayer RTS based on tight server/client
system and maybe SDL?
I’d like to look to the network code, and also i’d like to know how the
client may spawn a connected server when hosting a game… threads do not
seem to be useful for that purpose (well, i know nothing about
multithreading…)
The only way SDL_net supports connection is through SDL_Connect(), or there
is something even somewhat comparable with socketpair() ?