C ++ Eclipse构建错误

时间:2014-05-28 17:11:56

标签: c++ eclipse windows dll

出于某种原因,每当我尝试在Eclipse(CDT)中构建我的C ++文件时,我都会遇到此错误:

-lC:\Windows\System32\ws2_32.dll -lC:\Windows\System32\wsock32.dll
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lC:\Windows\System32\ws2_32.dll
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lC:\Windows\System32\wsock32.dll 

这是我的主要问题。它无法找到那些.dll文件。

我去了Project>属性>路径和符号> “库”选项卡并输入C:\Windows\System32\wsock32.dll。我为ws2_32.dll做了同样的事情。这样做我错了吗?

0 个答案:

没有答案