本文介绍了MinGW gcc->在64位Windows 7上缺少libmpc-3.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在64位Windows 7下使用MinGW.要编译我的简单应用程序,请使用以下调用:

I am using MinGW under a 64-Bit Windows 7. To compile my simple application I use the call:

gcc -o main.exe main.c

然后我得到我的libmpc-3.dll丢失的错误.我已经将PATH变量设置为MinGW的bin目录(只有libmpc-2.dlllibmpc-10.dll.)

Then I get an Error that my libmpc-3.dll is missing. I already set my PATH variable to the bin dir of MinGW (there are only a libmpc-2.dll and a libmpc-10.dll.)

任何人都可以帮忙吗?

推荐答案

似乎解决此问题并使MinGW安装正确版本的库的正确方法是使用mingw-get工具,就像mingw-get install mpc一样调用它.

Seems that the correct way to solve this and make MinGW install the right version of the library is using the mingw-get tool by calling it like mingw-get install mpc.

如果其他人在与MinGW无关的情况下缺少libmpc-3.dll,则似乎Cygwin的软件包带有libmpc-3( http://www-uxsup.csx.cam.ac.uk/pub/windows/cygwin/x86_64/release/cygwin32- libmpc/).

If anyone else is missing libmpc-3.dll for non MinGW related situations, seems that Cygwin has a package with libmpc-3 (http://www-uxsup.csx.cam.ac.uk/pub/windows/cygwin/x86_64/release/cygwin32-libmpc/).

这篇关于MinGW gcc->在64位Windows 7上缺少libmpc-3.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 17:35