News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Does codeblocks work with windows7 64bit?

Started by pickupstixx, December 12, 2011, 08:09:08 AM

Previous topic - Next topic

pickupstixx

Hey everyone, I'm new to c++ and I'm trying to learn it, but when i try to build and run it, i get this error ""firstproject - Debug" 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..."

I've reinstalled it a few times, but no luck.
Help please?

MortenMacFly

Quote from: pickupstixx on December 12, 2011, 08:09:08 AM
[YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]
Yes, I am working on Windows 64 bit and C::B is working just fine. Hence you may need to update your compiler (you didn't tell which version of C::B you are using, so this might not apply).

Generally please comply with the forum rules you agreed to when registering and search before you post. This is a common thing to do in forums as it helps not to answer the same question over and over again. Thank you.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

pickupstixx

I'm using 10.5, and I downloaded the mingw version. How would i update my compiler?

MortenMacFly

Quote from: pickupstixx on December 12, 2011, 08:17:44 AM
I'm using 10.5, and I downloaded the mingw version. How would i update my compiler?
When 10/05 came out there was no compiler available that was working on Windows 7. So this is a known issue. The solution is easy: Un-install C::B with compiler; download and install the version without compiler. Then download a recent MinGW, e.g. from here:
http://tdm-gcc.tdragon.net/
(it comes with a nice installer btw) and install it wherever you want to (for example in a sub-folder of C::B, called "MinGW"). Then run C::B, go to the compiler settings, -> select "tool chain executables" and hit "Auto detect" to let C::B find the compiler. This will only work, if you installed MinGW into a standard path's. Alternatively you can also simply point C::B to the folder you installed MinGW into.

BTW: This is roughly the 20th time, this step-by-step instruction is written. In addition you'll find it in the WiKi and the FAQ's of C::B. Have a look there for some more details, if needed.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

pickupstixx

Alright, thanks so much. Also, Sorry for not searching the forum before asking the question.