Toby
Toby

Reputation: 3905

MinGW gcc -> libmpc-3.dll missing on 64-Bit Windows 7

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

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.)

Can anyone help?

Upvotes: 5

Views: 11403

Answers (1)

Rudolfs Bundulis
Rudolfs Bundulis

Reputation: 11954

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.

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/).

Upvotes: 5

Related Questions