Code::Blocks Forums
User forums => Help => Topic started by: crabbydog on November 05, 2009, 08:25:02 pm
-
I had Codeblocks 8.1 last year and it worked fine. Last night I tried to compile some code I had compiled and run previously, and when I tried running compile and build nothing happened (literally nothing).
I downloaded 8.2 and same thing happened.
So I downloaded and installed 8.2 + mingwgcc (ie the full download from the codeblocks site. Still nothing happens. If I create a project and and add the same 'c' code to compile I get a message saying its an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
I am running windows xp and as said above, my 8.1 version was working happily last year.
Any ideas? I saw another thread on this but was specifically about Vista and Win 7.
thanks
Neil
-
Did you install a compiler?
If yes, what is the path to the compiler bin folder.
Tim S.
-
Nope, I just did the mingw install from codeblocks, does that not include the compiler? If not, then that is the problem explained.
Hmm, checked the download page and it says it installs the compiler. That being the case I would expect the IDE to know where it put the compiler.
-
The installation did add the compiler, but it seems when I installed Python enthought edition, it left a rogue path variable which pointed to mingw directory in the python install. I had removed that version of python but it seems the path variable remained, so codeblocks picked that up and so pointed to the wrong location for the compiler. I changed the path to point to the correct location and it has compiled fine.
:D