Author |
Message |
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: 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? _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: 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. |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: 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? |
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: 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. _________________ It's a shark! Oh my god! Unbelievable! |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Fri Nov 16, 2007 12:57 am Post subject: |
|
|
|
|
if every response was like this, these forums would have died long ago |
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: 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 |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Fri Nov 16, 2007 5:34 pm Post subject: |
|
|
|
|
true, but dont u think i would have checked other sources first? ;D |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: 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. |
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: 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 |
|
Back to top |
|
|
|