Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ironhead on July 30, 2011, 03:27:15 pm

Title: Issue with switching compilers
Post by: ironhead on July 30, 2011, 03:27:15 pm
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:

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?
Title: Re: Issue with switching compilers
Post by: ollydbg on July 30, 2011, 03:41:33 pm
At a total guess, code completion is somehow mixing the compilers?
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
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.


Title: Re: Issue with switching compilers
Post by: oBFusCATed on July 30, 2011, 07:03:11 pm
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:) ).
Title: Re: Issue with switching compilers
Post by: ironhead on July 30, 2011, 09:33:55 pm
At a total guess, code completion is somehow mixing the compilers?
Did you think it's CC's problem?

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
This happens when the second .cbp is loading?

Correct.

Quote
Edit:
which version of CB did you use?

The latest nightly (7289).

Is there anything more I can do to provide further logging in C::B to help determine the issue?
Title: Re: Issue with switching compilers
Post by: oBFusCATed on July 30, 2011, 10:09:39 pm
You can attach the debugger and paste a backtrace:)

(if you're brave enough you can build c::b yourself :))
Title: Re: Issue with switching compilers
Post by: ironhead on July 30, 2011, 11:28:07 pm
You can attach the debugger and paste a backtrace:)

Are nightlies built with debug symbols?

Quote
(if you're brave enough you can build c::b yourself :))

If need be I'll grab tdm's gcc and give it a build.
Title: Re: Issue with switching compilers
Post by: ollydbg on July 31, 2011, 04:20:17 am
Are nightlies built with debug symbols?
The official c::b nightlies release does not supply debug-symbols. But I guess they were build with -g options. but later, the debug info was stripped before release.