undefind reference to '__imp_wsastartup'
程序员文章站
2022-06-22 19:57:55
...
使用Dev_C++编译Socket代码时,出现错误undefind reference to '__imp_wsastartup',如下所示
解决方法:选择 Tools -> Compiler Options -> General -> Add the following commands when calling the compiler: 中添加
-lwsock32
重新编译,运行即可。
上一篇: error: invalid type argument of ‘->‘ (have ‘int‘)
下一篇: Android studio opencv报错undefined reference to 'cv::imwrite(cv::String const&, c
推荐阅读
-
详解 Kotlin Reference Basic Types, String, Array and Imports
-
由php的call_user_func传reference引发的思考
-
配置c3p0-config.xml数据库连接池,jdbcurl配置项报错Type The reference to entity "useUnicode" must end with the ';' delimiter.
-
Windows编译OpenCV4Android解决undefined reference to std错误
-
Win8系统发生蓝屏提示reference by pointer错误的故障原因及解决方法
-
【iOS异常】 JSonKit does not support Objective-C Automatic Reference Counting(ARC)
-
Windows Phone&添加service reference出错
-
PHP7内核之Reference详解
-
JDK源码分析(7)之 Reference 框架概览
-
spring-framework-reference(5.1.1.RELEASE)中文版——Core部分