Author Topic: "example - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].  (Read 10052 times)

Offline ReCreate

  • Single posting newcomer
  • *
  • Posts: 4
    • ReCreate's stuff
Well, It shows up in the build log when I try to compile anything.
What gives?
~ReCreate

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
PLEASE SEARCH BEFORE POSTING
(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 ReCreate

  • Single posting newcomer
  • *
  • Posts: 4
    • ReCreate's stuff
I DID BUT I FOUND UTTERLY UNRELATED INFORMATION, also, Quit yelling and using the big red bold text.
Shesh, What a welcome to the forum.   :?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Hm, Are you sure?
Now try to search for "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" and see how many threads are locked, because people have not searched!
(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 ReCreate

  • Single posting newcomer
  • *
  • Posts: 4
    • ReCreate's stuff
Ok so...I found a ton of people having the same problem and a ton of other people telling them to search...How do i fix it?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Try reading Wiki link

http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler

Most common cause is user has no compiler Installed.
Second the Code::Blocks Compiler configuration is wrong.
Third Compiler is not install correctly.

Tim S
« Last Edit: December 10, 2009, 02:55:34 am by stahta01 »
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
I DID BUT I FOUND UTTERLY UNRELATED INFORMATION, also, Quit yelling and using the big red bold text.
Shesh, What a welcome to the forum.   :?

Then you did something wrong.
I just clicked on search in the "menu"-bar at the top, then inserted "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" in the text-box, clicked find and the first found topic gives you all information you need.
http://forums.codeblocks.org/index.php?action=search2&search=invalid+compiler

And if it's not the first, you might have to scroll through and look for something that helps.

It's the same, if you search on google or any other search-engine.

The answer you need might sometimes not be the first (even if it is in this case).

Look:
if all the people with the same problem would have searched before posting, the amount of locked topics flooding the search results would be much smaller.

The cause oBFusCATed seems to be so harsh is, that it's annoying to answer th esame questions over and over again.

By the way:

The amount of questions about the same topic, should probaly lead to a warning/error-message that gives more hints what might have gone wrong.
« Last Edit: December 10, 2009, 06:49:54 am by jens »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Just for the recoed:

Meanwhile it's hard to find the solution BECAUSE people do not search before posting. So oBFusCATed was 100% correct in his statement. Hence looking through all the posts you will realise that this is answered multiple times.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
The amount of questions about the same topic, should probaly lead to a warning/error-message that gives more hints what might have gone wrong.
Look, what I don't get: If you go to a library with tons of information seeking for a specific information, you don't ask the librarien in the first place for information. You search yourself and use the search index provided by the library.

A forum ist just like that: A pool of information to help yourself in the first place. But if that attitude is not clear also error messages / warnings will not help.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
The amount of questions about the same topic, should probaly lead to a warning/error-message that gives more hints what might have gone wrong.
Look, what I don't get: If you go to a library with tons of information seeking for a specific information, you don't ask the librarien in the first place for information. You search yourself and use the search index provided by the library.

A forum ist just like that: A pool of information to help yourself in the first place. But if that attitude is not clear also error messages / warnings will not help.

You are right, and what I was missing, that you already changed the invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] message to be more descriptive (that does not help for people using the8.0-release).

But it seems as if the most users are too lazy to search or don't know how (or where) to search.

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
"invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" on google, with no other search terms, will give the correct answer on THE VERY FIRST PAGE of results.  dont even have to search here.   can the mods stop answering this question and just flat out start silently deleting every post with this question?  maybe even delete some of the OLD ones so the few people who do search here will find the answer quicker.