Libgmp-10.dll is missing when trying to compile gnu object c under windows

I installed GNUStep http://www.gnustep.org/experience/Windows.html , but when compiling helloworld.m, I lost libgmp-10.dll.

What should I do to make it work? (I'm on a 64-bit version of Windows 7)

I already work a few months ago, although I think it was 32 bit on Vista.

Update: found here

https://rb.freedroid.org/r/1101/diff/?expand=1

166 Nota:, if an error window opens complaining about libgmp-10.dll missing, then you used a bugged version of the MinGW installer 167 (some DLLs are not correctly installed). To fix the problem, just type the following commands: 168 cp /mingw/bin/libgmp-10.dll /mingw/libexec/gcc/mingw32/4.5.2 169 cp /mingw/bin/libmpc-2.dll /mingw/libexec/gcc/mingw32/4.5.2 170 cp /mingw/bin/libmpfr-1.dll /mingw/libexec/gcc/mingw32/4.5.2 171 cp /mingw/bin/libiconv-2.dll /mingw/mingw32/bin 172 cp /mingw/bin/libintl-8.dll /mingw/mingw32/bin 

But I found libgmp-3.dll in / mingw / bin /

+6
source share
2 answers

DLL not missing; it can be found in the MinGW- bin . In my system:

 D:\Opt\MinGW32.11.11\bin\libgmp-10.dll 

The problem can be easily fixed by adding the MinGW- bin to PATH :

 set path=%path%;D:\Opt\MinGW32.11.11\bin 

Now the compiler works fine.

+12
source

I just downloaded mingw-get-inst-20110802 and got the same error as you.

I found the necessary DLL files in the specified directory. Applying this solution solved my problem.

I can suggest you try rebooting and reinstalling MinGW ..

+1
source

Source: https://habr.com/ru/post/892903/


All Articles