Click here to Skip to main content
15,913,685 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am making a server (this is the first time i'm dealing with internet programming) and I went on to get SDL_net because I use SDL to make my games.
Now I made the server a consol window, when I dont include SDL_net it works fine, but when I include SDL_net the consol window "crashes" (it basically crashes, but instead of not answering it's just sitting around waiting for who knows), I have it linked like this:
VB
-ISDL_net
SDL_net.lib

so it's kind of weird.
What i'm asking is why is the program "crashing" when I include SDL_net on a consol window? (I include SDL_net on my Dev-C++ compiler by typing "#include "SDL/SDL_net.h")
Posted
Updated 25-Oct-11 0:14am
v2
Comments
Richard MacCutchan 25-Oct-11 7:04am    
Without seeing your code and knowing what you are trying to do it's impossible even to begin to guess what's wrong. Are you sure you are implementing this library correctly (i.e. have you checked the documentation)?
Karsten Malmquist 25-Oct-11 12:13pm    
I did find out how to link it propperly, turned out that you had to link it to a specific HD location unlike the other external libraries for SDL.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900