链接器找不到stdc ++

时间:2020-10-14 03:17:19

标签: c++ g++

我从win-builds安装了mingw-w64,并开始在测试c ++程序上使用g ++。我已经将bin文件夹添加到PATH和所有内容中,但是当我尝试编译程序时会收到这些错误消息

c:/win-builds/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lstdc++
c:/win-builds/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
c:/win-builds/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s

也许我只是傻瓜,但是有人可以帮我吗?

0 个答案:

没有答案