winsock2.h, no such file or directory

后端 未结 2 423
予麋鹿
予麋鹿 2020-12-20 19:33

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          


        
2条回答
  •  北荒
    北荒 (楼主)
    2020-12-20 19:53

    simply go to project->project properties linker->input in additional dependencies add ws2_32.lib linker ->command line add here ws2_32.lib click start

提交回复
热议问题