qt+mingw编译出错,提示undefined reference to `**@**'

weixin_38051170 2019-09-19 11:58:17
D:\Test\Bidding\src/soap/stdsoap2.cpp:4844: undefined reference to `setsockopt@20'D:\Test\Bidding\src/soap/stdsoap2.cpp:4845: undefined reference to `WSAGetLastError@0'D:\Test\Bidding\src/soap/stdsoap2.cpp:4854: undefined reference to `ioctlsocket@12'D:\Test\Bidding\src/soap/stdsoap2.cpp:4856: undefined reference to `ioctlsocket@12'D:\Test\Bidding\src/soap/stdsoap2.cpp:4859: undefined reference to `WSAGetLastError@0'./objs\stdsoap2.o: In function `soap_cleanup':D:\Test\Bidding\src/soap/stdsoap2.cpp:4923: undefined reference to `WSACleanup@0'./objs\stdsoap2.o: In function `soap_send_fault':D:\Test\Bidding\src/soap/stdsoap2.cpp:15320: undefined reference to `recv@16'collect2: ld returned 1 exit statusmingw32-make[1]: *** [bin\BiddingAssistant.exe] Error 1mingw32-make: *** [release] Error 2The process "E:\Qt\mingw\bin\mingw32-make.exe" exited with code 2.Error while building project BiddingAssistant (target: Desktop)When executing build step 'Make' 使用qt + vc是能编译通过的,但是使用qtcreator时则提示以上问题。使用的是Qt SDK version 1.1.4
...全文
175 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_38059644 2019-09-19
  • 打赏
  • 举报
回复
链上必要的库:-lWs2_32

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧