本文介绍了无法用MinGW编译-缺少libmpc-2.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows Vista中安装了MinGW,因此可以使用gcc,但是它不起作用.

I have installed MinGW in Windows Vista, so I can use gcc but it doesn't work.

当我尝试编译.c之类的.c文件时,出现错误(已翻译):

When I try to compile a .c file like gcc hello.c -o hello.exe I get an error (translated):

我该如何解决?

推荐答案

将此文件复制到可以找到您的gcc可执行文件的目录(一个名为bin的目录)中. http://www38.zippyshare.com/v/95754574/file.html

Copy this file into the directory where your gcc executable can be found (the one named bin).http://www38.zippyshare.com/v/95754574/file.html

奇怪的是我的MinGW安装正确包含了该dll.

The strange thing is that the MinGW installation of mine included this dll correctly.

这篇关于无法用MinGW编译-缺少libmpc-2.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 06:50