Author Topic: No compile Win XP,  (Read 3761 times)

Offline crabbydog

  • Single posting newcomer
  • *
  • Posts: 3
No compile Win XP,
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: No compile Win XP,
« Reply #1 on: November 05, 2009, 08:57:45 pm »
Did you install a compiler?
If yes, what is the path to the compiler bin folder.

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 crabbydog

  • Single posting newcomer
  • *
  • Posts: 3
Re: No compile Win XP,
« Reply #2 on: November 05, 2009, 10:58:53 pm »
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.
« Last Edit: November 05, 2009, 11:14:05 pm by crabbydog »

Offline crabbydog

  • Single posting newcomer
  • *
  • Posts: 3
Re: No compile Win XP, - problem solved
« Reply #3 on: November 06, 2009, 12:10:07 am »
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