Server Help

Non-Subspace Related Coding - winsock linker error?

Cheese - Mon Nov 12, 2007 10:42 pm
Post subject: winsock linker error?
whenever i try to compile anything using sockets, i always get something like
[linker error] undefined reference to wsastartup@8

i dont speak compiler, whats going on, and how do i fix it?
Mine GO BOOM - Mon Nov 12, 2007 10:59 pm
Post subject:
Linker error means it could not combine all the defined functions with the raw code. It means that a header defined a function, it set it up to work with it, but now it needs to see the code that goes with it so it can link it into your executable.

Just include the library Ws2_32.dll in whatever way your compile method requires it.
Cheese - Tue Nov 13, 2007 1:43 am
Post subject:
turns out i dont have a bunch of libraries

where can i get a pack of stuff like that and comctl32.lib?
Bak - Tue Nov 13, 2007 1:45 am
Post subject:
from google
k0zy - Tue Nov 13, 2007 2:23 pm
Post subject:
Cheese wrote:
turns out i dont have a bunch of libraries

where can i get a pack of stuff like that and comctl32.lib?


Download and install the Platform SDK.
Cheese - Fri Nov 16, 2007 12:57 am
Post subject:
Bak wrote:
from google


if every response was like this, these forums would have died long ago
Bak - Fri Nov 16, 2007 4:14 am
Post subject:
good luck googling why your lvz image isn't showing up. If you come to us with every compiler error you get you'll never get better icon_sad.gif
Cheese - Fri Nov 16, 2007 5:34 pm
Post subject:
true, but dont u think i would have checked other sources first? ;D
Mine GO BOOM - Fri Nov 16, 2007 9:08 pm
Post subject:
Cheese wrote:
true, but dont u think i would have checked other sources first? ;D
Your post's warning message wrote:
WARNING: Any attempt to respond to this message with anything resembling intelligence is futile.

Cheese - Fri Nov 16, 2007 9:54 pm
Post subject:
Quote:
WARNING: Any attempt to respond to this message with anything resembling intelligence is futile. -MGB's opinion
.

fixed
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group