Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have this error while compiling my Visual C++ project in Visual Studio 2008 on XP. How to resolve this error :(

Error   1   fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory    c:program filesmicrosoft visual studio 9.0vcatlmfcincludeatlbase.h    68  WOT
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.6k views
Welcome To Ask or Share your Answers For Others

1 Answer

Your Windows SDK is not configure correctly. The easiest way to fix this is to install Windows 7 SDK. (yes, you can install it on windows xp and develop for xp)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...