Author Topic: [solved]CB doesn't want to compile though mingw64 is configured  (Read 3863 times)

Offline teto

  • Almost regular
  • **
  • Posts: 127
[solved]CB doesn't want to compile though mingw64 is configured
« 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).
« Last Edit: September 13, 2010, 06:58:51 pm by teto »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CB doesn't want to compile though mingw64 is configured
« Reply #1 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
(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!]

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: CB doesn't want to compile though mingw64 is configured
« Reply #2 on: September 13, 2010, 06:37:17 pm »
I a sure since I have selected them all from the explorer by clicking on "..."

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7679
    • My Best Post
Re: CB doesn't want to compile though mingw64 is configured
« Reply #3 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline teto

  • Almost regular
  • **
  • Posts: 127
Re: CB doesn't want to compile though mingw64 is configured
« Reply #4 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.