Hi All,

I was working on the project that was building very well on Visual Studio 2008 Express Edition.
Later I have installed the Visual Studio 2008 professional along with Visual Studio 2008 SP1.

Now I am trying to build the project, which shows the following Error.

fatal error LNK1181: cannot open input file 'kernel32.lib'
fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory

Do I need to check for the Registry entries for the installation path? OR
Is there any modification’s do I need to do in Environment variables?
Kindly suggest me to get rid of this Issue.

I don't know much on the problem, but I found a few links that might help you:


http://www.daniweb.com/forums/thread290836.html (a daniweb page which has been solved)


Even if they don't straight up solve your problems, at least they might be able to help you a little bit.

First check your computer to see if winsock2.h actually exists. If it does, then you probably need to make a change to the list of folders that the compiler uses. You will find that list in Tools or Options menu item. I don't have that compiler installed any more but you will find standard compiler search folders somewhere there.

This question has already been answered. Start a new discussion instead.