User forums > Using Code::Blocks
Issue with switching compilers
ironhead:
I've run in to an issue with switching between mingw-w64 and mingw.org compilers in the same instance of Code::Blocks. The steps to reproduce are simple:
* Open a .cbp file that uses the mingw-w64 compiler for the project
* Close that project
* Using the same instance of Code::Blocks open a .cbp file that uses the mingw.org compiler
* An error box will pop-up titled "cc1plus.exe - System Error" that states the program can't start because libgmp-10.dll is missing from your computer
* Clicking 'OK' will just pop-up the dialogue again
* The only way to get rid of the pop-up is to kill the codeblocks.exe process
The issue also occurs if you perform the steps in the opposite order (opening the mingw.org based project, close it, open the mingw-w64 based project).
At a total guess, code completion is somehow mixing the compilers?
ollydbg:
--- Quote from: ironhead on July 30, 2011, 03:27:15 pm ---At a total guess, code completion is somehow mixing the compilers?
--- End quote ---
Did you think it's CC's problem?
--- Quote ---An error box will pop-up titled "cc1plus.exe - System Error" that states the program can't start because libgmp-10.dll is missing from your computer
--- End quote ---
This happens when the second .cbp is loading?
Edit:
which version of CB did you use?
I do not have a Win64 system/Win64 compiler, so I do not have the test environment. :D all above was from my guess.
oBFusCATed:
ironhead: disable the CC and see if the problem is still there. I vote to for a CC problem (I could be wrong of course:) ).
ironhead:
--- Quote from: ollydbg on July 30, 2011, 03:41:33 pm ---
--- Quote from: ironhead on July 30, 2011, 03:27:15 pm ---At a total guess, code completion is somehow mixing the compilers?
--- End quote ---
Did you think it's CC's problem?
--- End quote ---
I had assumed so, but it was a bad assumption. With CC disabled I still ran in to the issue, so it's not CC related I guess.
--- Quote ---
--- Quote ---An error box will pop-up titled "cc1plus.exe - System Error" that states the program can't start because libgmp-10.dll is missing from your computer
--- End quote ---
This happens when the second .cbp is loading?
--- End quote ---
Correct.
--- Quote ---Edit:
which version of CB did you use?
--- End quote ---
The latest nightly (7289).
Is there anything more I can do to provide further logging in C::B to help determine the issue?
oBFusCATed:
You can attach the debugger and paste a backtrace:)
(if you're brave enough you can build c::b yourself :))
Navigation
[0] Message Index
[#] Next page
Go to full version