Code::Blocks Forums

User forums => Help => Topic started by: Jaus on June 16, 2010, 02:33:34 pm

Title: Code Will not compile with the new version of MingW included in 10.05
Post by: Jaus on June 16, 2010, 02:33:34 pm
I have been using codeblocks for about 8 months now, specifically version 8.02. When version 10.05 came out I as excited and uninstalled , then installed the new 10.05 with a newer version of MingW. Now my code that compiled under both MingW and MSVS2008's compiler will not compile under the new MingW included with C::B 10.05.
I am running windows 7 64 bit Home Premium and as stated C::B 10.05.
Here is a pastebin of the build errors.
http://pastebin.org/336194 (http://pastebin.org/336194)

Thank you guys for the help.
Title: Re: Code Will not compile with the new version of MingW included in 10.05
Post by: Phenom on June 16, 2010, 08:41:40 pm
I have this problem too. When I installed TDM-GCC 4.5.0 . In projects that previoulsy compiled without problems I get link errors, even when I deleted the existing object files, form the old compiler.

Can anyone help?
Title: Re: Code Will not compile with the new version of MingW included in 10.05
Post by: Jaus on June 16, 2010, 11:16:33 pm
Yes, my attempt to use a newer version of mingw didn't work since the copy of mingw used by C::B is newer than the binaries given out by the MingW site.
Title: Re: Code Will not compile with the new version of MingW included in 10.05
Post by: OldDude on June 17, 2010, 03:09:38 am
I just downloaded couple of days ago C::B 10.05 and use the lastest MinGw and it works fine now. I am on XP.
But initially I had problem as codeblocks.exe gets into my C Compiler in the Toolchain by accident (still don't understand how it happened)...but it is working fine after it was rectified
Title: Re: Code Will not compile with the new version of MingW included in 10.05
Post by: Jaus on June 18, 2010, 04:10:19 am
I solved this by wiping all trace of mingw and codeblocks even from the appdata folders. Then reinstalled.