我已经在 Windows Vista 中安装了 MinGW,所以我可以使用 gcc
但它不起作用。
当我尝试编译 .c
时文件如 gcc hello.c -o hello.exe
我收到一个错误(已翻译):
cc1.exe: could not find libmpc-2.dll
我怎样才能解决这个问题?
最佳答案
我有同样的问题。使用 mingw-get
安装 mpc 包为我解决了。
cd MinGW\bin
mingw-get install mpc
关于windows-vista - 无法使用 MinGW 编译 - 缺少 libmpc-2.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5127446/