[SOLVED] libgmp-10.dll was not found

Problems building or running the engine, queries about how to use features etc.

[SOLVED] libgmp-10.dll was not found

Postby DarkLightning7 » Mon Jul 18, 2011 3:42 am

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


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
Kudos: 0
Joined: 22 Jun 2011

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

Postby DarkLightning7 » Wed Jul 20, 2011 5:30 pm

This error is fixed by simply restarting your computer.
User avatar
DarkLightning7
Kobold
 
Posts: 35
Kudos: 0
Joined: 22 Jun 2011

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

Postby runfrodorun » Wed Jul 20, 2011 6:49 pm

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
runfrodorun
Gremlin
 
Posts: 154
Kudos: 3
Joined: 24 Jun 2011
Location: 192.168.0.1

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

Postby DarkLightning7 » Wed Jul 20, 2011 9:15 pm

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. :?
User avatar
DarkLightning7
Kobold
 
Posts: 35
Kudos: 0
Joined: 22 Jun 2011


Return to Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 9 guests