News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

[solved]CB doesn't want to compile though mingw64 is configured

Started by teto, September 13, 2010, 05:47:59 PM

Previous topic - Next topic

teto

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

oBFusCATed

Have you verified that the executables in c:\mingw64\bin are the same as the ones in the screenshot
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

teto

I a sure since I have selected them all from the explorer by clicking on "..."

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

teto

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.