Reputation: 129075
I have installed MinGW in Windows Vista, so I can use gcc
but it doesn't work.
When I try to compile a .c
file like gcc hello.c -o hello.exe
I get an error (translated):
cc1.exe: could not find libmpc-2.dll
How can I fix this?
Upvotes: 3
Views: 6209
Reputation: 61
I had the same problem. Installing the mpc package with mingw-get
solved it for me.
cd MinGW\bin
mingw-get install mpc
Upvotes: 6
Reputation: 31
I have today same problem in Windows 7. All DLL's was in folder with MinGW. Only copying DLL's in SYSTEM32 folder solved this
Upvotes: 3
Reputation: 1493
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
The strange thing is that the MinGW installation of mine included this dll correctly.
Upvotes: 2