|
Written by Shaniur T I M Nabi
|
|
Tuesday, 27 September 2005 |
OS: Windows XP
Compiler: Visual Studio 6 Enterprise Edition
Error caused during compilation of "tictoe" tutorial
Error from compilation:
LINK : fatal error LNK1181: cannot open input file "wsock32.lib"
NMAKE : fatal error U1077: 'link.exe' : return code '0x49d'
Stop.
Fix:
cl.exe, the VC++ compiler is not able to locate the link library (.lib) files
by default when it runs in command prompt. All that needs to be done is
adding the default LIB folder of VC++ to the terminal window. By
default, your LIB directory should be located in: C:\Program
Files\Microsoft Visual Studio\VC98\Lib (assuming you installed with
default settings in C Drive, or just look for it in your system). So
just type in the following line in command prompt:
<strong>set LIB=C:Program FilesMicrosoft Visual StudioVC98Lib</strong>
I am still working on how to get this LIB value to the system by
default, so you don't have to type everytime you start working. I'll
update this bit as soon as I figure that out.
Add as favourites (7) | Quote this article on your site | Views: 856
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |