Author Topic: Help with complier error.  (Read 5122 times)

LearningC++

  • Guest
Help with complier error.
« 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.

Offline SlpCtrl

  • Single posting newcomer
  • *
  • Posts: 9
Re: Help with complier error.
« Reply #1 on: September 06, 2009, 03:05:00 am »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
Re: Help with complier error.
« Reply #2 on: September 06, 2009, 06:58:10 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++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Help with complier error.
« Reply #3 on: September 06, 2009, 09:51:09 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 !