Page 1 of 1

[SOLVED] libgmp-10.dll was not found

Posted: Mon Jul 18, 2011 3:42 am
by DarkLightning7
I am getting a number of errors in cmake when I try to compile ogre 1.7.3. I have 4 errors that pop up about 3 times each when I press the configure button in cmake. They read:
Error1
cc1.exe - Unable To Locate Component

This application has failed to start because libgmp-10.dll was not found. Re-installing the application may fix the problem.

Error2
cc1.exe has stopped working

Error3
cc1plus.exe - Unable To Locate Component

This application has failed to start because libgmp-10.dll was not found. Re-installing the application may fix the problem.

Error4
cc1plus.exe has stopped working


I have checked for libgmp-10.dll it is in the mingw bin. After all of that I get a popup telling me that the project files may be invalid and some output in cmake.

Code: Select all

The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler: c:/MinGW/bin/gcc.exe
Check for working C compiler: c:/MinGW/bin/gcc.exe -- broken
[color=#FF0000]CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "c:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/Users/<username>/Ogre1.7/Ogre builds/OgreSDK_v1-7-3/CMakeFiles/CMakeTmp

  

  Run Build Command:c:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"

  c:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
  CMakeFiles/cmTryCompileExec.dir/build

  mingw32-make.exe[1]: Entering directory `C:/Users/<username>/Ogre1.7/Ogre
  builds/OgreSDK_v1-7-3/CMakeFiles/CMakeTmp'

  "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  "C:\Users\<username>\Ogre1.7\Ogre
  builds\OgreSDK_v1-7-3\CMakeFiles\CMakeTmp\CMakeFiles" 1

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj

  c:\MinGW\bin\gcc.exe -o CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj
  -c "C:\Users\<username>\Ogre1.7\Ogre
  builds\OgreSDK_v1-7-3\CMakeFiles\CMakeTmp\testCCompiler.c"

  mingw32-make.exe[1]: ***
  [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 1

  mingw32-make.exe[1]: Leaving directory `C:/Users/<username>/Ogre1.7/Ogre
  builds/OgreSDK_v1-7-3/CMakeFiles/CMakeTmp'

  mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:47 (project)

[/color]
Configuring incomplete, errors occurred!
If anyone has any ideas on how to fix these errors I would really appreciate the help.

Thanks.

Re: libgmp-10.dll was not found even though it was in MinGW

Posted: Wed Jul 20, 2011 5:30 pm
by DarkLightning7
This error is fixed by simply restarting your computer.

Re: [SOLVED] libgmp-10.dll was not found

Posted: Wed Jul 20, 2011 6:49 pm
by runfrodorun
Something else, if you are using mingw, then the c compilers should be gcc.exe and g++.exe, not cc1.exe and cc1plus.exe

Re: [SOLVED] libgmp-10.dll was not found

Posted: Wed Jul 20, 2011 9:15 pm
by DarkLightning7
I have set the compilers manually during the times when I am getting these errors. I still get the same result so it is some weird glitch in one of the programs that causes this error. I don't have any idea why but restarting the system fixes it. :?