User forums > Help
Code::Blocks not recognizing compiler
jon14:
I've just downloaded the newest Code::Blocks with the built in GCC compiler(from this site). The installation went smoothly and I can create projects and files just fine. But I can't run them.
After building/running a file, the error at the bottom reads:
mindw32-g++.exe: installation problem, cannot exec 'cc1plus': No such file or directory
I haven't downloaded anything else or switched around any options. I'm new to this compiler so I apologize if this is a common issue.
TDragon:
Are you running Windows Vista? If so, do a search in the forum for a couple of related threads.
On an unrelated topic, the version of C::B which includes the GCC compiler is not the newest version; the nightly builds are leaps and bounds ahead.
jon14:
--- Quote from: TDragon on June 20, 2007, 10:48:38 pm ---Are you running Windows Vista? If so, do a search in the forum for a couple of related threads.
On an unrelated topic, the version of C::B which includes the GCC compiler is not the newest version; the nightly builds are leaps and bounds ahead.
--- End quote ---
Thanks for the reply. I've checked out the forums and found a thread that was similar to mine. Unfortunately It didn't help my situation.
I've downloaded the nightly pack from here: http://forums.codeblocks.org/index.php/topic,6226.0.html
Along with the wxWidget dll and mingw10m.dll files.
I then downloaded some more files I got from a thread on this forum(it helped the guy with the same situation). I'm referring to this: http://savefile.com/files/753051
After installing all files and opening a console project, I still get the same error when running my code.
--- Code: ---"hello - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.
--- End code ---
Any help is greatly appreciated.
TDragon:
You still need to install the MinGW/GCC compiler itself. See this page in the Code::Blocks Wiki. If you have done so and it still doesn't work, make sure that the main compiler path in the "Other settings" tab of C::B's global compiler settings is correct.
jon14:
Yes, I have the main compiler installed. When I launch CB it picks it up and sets it as default.
Here are the menu settings I have:
Navigation
[0] Message Index
[#] Next page
Go to full version