News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

could not find -lwsock32.lib

Started by thomas_joyee, July 14, 2008, 02:18:51 PM

Previous topic - Next topic

thomas_joyee

Hi all,

I have installed mingw and code blocks on my computer. Now I am trying to learn the basis of socket programming. To do this I included wsock32.lib in the project. But I got an error message "could not find –lwsock32.lib". I searched on my computer for this file and find it does not exist. How can I get this library file?

Thanks and regards,
Thomas

Vuki

Which compiler do you use? Try either -lwsock32 or libwsock32.lib in your linker options.