【发布时间】:2014-01-13 12:40:32
【问题描述】:
我在使用 gnu gcc 编译器的代码块中收到以下错误,当我尝试编译代码时出现以下错误:
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find- lstrmbase
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lz
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
2 errors, 0 warnings (0 minutes, 21 seconds)
【问题讨论】:
-
请出示您的代码。
-
@herohuyongtao:这是关于链接器没有找到它被告知链接的库。代码在这里无关紧要。