News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Help with complier error.

Started by LearningC++, September 06, 2009, 03:03:08 AM

Previous topic - Next topic

LearningC++

When I try to compile a file It keeps giving me an error along the lines of "Skipped invalid complier" I run windows vista And I installed the full package.

SlpCtrl

Just had a problem with this and I believe I fixed it; here's what I did, let me know if it helps you:

I fixed it; what I did was I went to settings>compiler and debugger

selected the toolchain executables tab

By default (from a fresh install) the version available right now has the default folder for MinGW WRONG. It has C:/MinGW, but the actual folder where it's installed to is C:\Program Files\CodeBlocks\MinGW (for windows). I just did an auto-detect and it corrected the problem, and voila; I can now build and run.

Directories may be different, but basically go to settings>compiler and debugger and select the toolchain executables tab, and press the auto-detect button for the MinGW directory. Let me know if this corrects your problem.

stahta01

Quote from: LearningC++ on September 06, 2009, 03:03:08 AM
When I try to compile a file It keeps giving me an error along the lines of "Skipped invalid complier" I run windows vista And I installed the full package.

I strongly suggest upgrading to an newer MinGW GCC instead of using the one packaged with Code::Blocks 8.02. It has known issues with most versions of Windows Vista.

Note, that is not the cause of your current error; but, it might fix it as a side effect.

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]

Jenna

Quote from: stahta01 on September 06, 2009, 06:58:10 AM
Quote from: LearningC++ on September 06, 2009, 03:03:08 AM
When I try to compile a file It keeps giving me an error along the lines of "Skipped invalid complier" I run windows vista And I installed the full package.

I strongly suggest upgrading to an newer MinGW GCC instead of using the one packaged with Code::Blocks 8.02. It has known issues with most versions of Windows Vista.

Note, that is not the cause of your current error; but, it might fix it as a side effect.

Tim S.

And please:

Search the forum and your favourite search-engine (if the first does not help).

The invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] question is one of the most asked ones. The Vista issues are also answered a lot of times. And the answers can be easily found without producing unnecessary noise in the forum.

Topic locked !