[SOLVED] libgmp-10.dll was not found

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
DarkLightning7
Kobold
Posts: 35
Joined: Wed Jun 22, 2011 4:35 am
Contact:

[SOLVED] libgmp-10.dll was not found

Post 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.
Last edited by DarkLightning7 on Wed Jul 20, 2011 8:53 pm, edited 3 times in total.
User avatar
DarkLightning7
Kobold
Posts: 35
Joined: Wed Jun 22, 2011 4:35 am
Contact:

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

Post by DarkLightning7 »

This error is fixed by simply restarting your computer.
User avatar
runfrodorun
Gremlin
Posts: 154
Joined: Fri Jun 24, 2011 3:50 am
Location: 192.168.0.1
x 3

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

Post 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
Sass not tolerated
LAY DOWN THE LAW!
When I don't understand a problem, I punch it in the face and try again.
User avatar
DarkLightning7
Kobold
Posts: 35
Joined: Wed Jun 22, 2011 4:35 am
Contact:

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

Post 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. :?
Post Reply