Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: teto on September 13, 2010, 05:47:59 pm

Title: [solved]CB doesn't want to compile though mingw64 is configured
Post by: teto on September 13, 2010, 05:47:59 pm
hi there,

I have the "classical" problem
Quote
"minimal - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
though in my case I don't understand why it doesn't compile. I have installed mingw64 through the TDM downloader. It has added the install into the path and then I updated toolchain executables from CB.
At first I thought it didn't work 'cos my installation was on disk F:  .SO i moved my install to C:\mingw64, updated my path (reboot) and still no success. Any idea ?



I'am running win7 64 bits with codeblocks 10.05 (I tried updating to the 12st sept nightly whitout success).
Title: Re: CB doesn't want to compile though mingw64 is configured
Post by: oBFusCATed on September 13, 2010, 06:01:55 pm
Have you verified that the executables in c:\mingw64\bin are the same as the ones in the screenshot
Title: Re: CB doesn't want to compile though mingw64 is configured
Post by: teto on September 13, 2010, 06:37:17 pm
I a sure since I have selected them all from the explorer by clicking on "..."
Title: Re: CB doesn't want to compile though mingw64 is configured
Post by: stahta01 on September 13, 2010, 06:49:55 pm
Suggestion:

1. Set the Compiler you wish to use as default
2. Create "Hello World" Console using Scripted Wizard

If it works, then change your project for you NON working project to a different compiler; and then change it to the compiler that worked for "Hello World" compiler.

Tim S.
Title: Re: CB doesn't want to compile though mingw64 is configured
Post by: teto on September 13, 2010, 06:58:37 pm
hoho I din't realize projects could choose their compiler apart from the default one. (even if having a default one may imply we can change it -_-'''' ) .

stahta01 thx for your help it did work.