Author Topic: Nothing happens when I press F9  (Read 13349 times)

victornsy

  • Guest
Nothing happens when I press F9
« on: June 30, 2008, 08:53:01 pm »
Erm,

I am very new to programming, I install codeblock on xp machine
at the office and it seems to be working when I tried to compile
a command prompt programme ( console application? ).

Back at home I have a computer on Vista ... when I do build and
run the simple c++ code. with basic cout stuff. The build log just
stall, nothing is displayed! so I don't know what when wrong...

sometimes I will print a message after a while
"uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping..." what does it mean...
hope someone can help me..

victornsy

  • Guest
Vista, Compiler, No Build message displayed.
« Reply #1 on: July 01, 2008, 03:52:42 pm »
Ok anyway I found the solution ... I don't know if installing the no. 3 gcc compiler
worked... but after installing the packages everything is still the same. Nothing
compiles and no message, obviously it seems that there is no compiler found.

Until I did one thing ...

File Menu > Setting > Compiler and Debugger > global compiler settings dialog >
Toolchain executables tab > Compiler's installation directory > press auto-detect.

It appears the recorded directory was wrong.

This occur becos I did the first installation on my directory c:\codeblock
then uninstalling it to install a new codeblock that comes with MinGW...
it seems the uninstallation did not update the registry in windows vista!

Hope this helps someone in future.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Nothing happens when I press F9
« Reply #2 on: July 01, 2008, 06:15:08 pm »
C::B does not use the registry and therefore cannot update it.
It uses a configuration file that is created at first run of C::B (or at first run with a new profile). In this case C::B looks for installed compilers.
In any cases the user should check if all toolchain executables are set correct, because C::B does not search on the whole HD(s), but only in the default places.

jamblock

  • Guest
Re: Nothing happens when I press F9
« Reply #3 on: July 03, 2008, 12:36:32 pm »
hi victornsy,I am a beginner too,and I am learning C++ now,but when I press the F9,i've got the same on you.And my english is not good,I can't understand what you said ,what can i do now?and when i got the tab you said ,i found the default path is C:\mingw,but there is no this folder in my C:\ .I don't know how to let my C::B work.so ,if you can help me ,please write down the simple steps to let my C::B work ,thank you!:)

newb22

  • Guest
Re: Nothing happens when I press F9
« Reply #4 on: July 24, 2008, 03:31:46 am »
I am having the same probelm in fedora core 9, any ideas?

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Nothing happens when I press F9
« Reply #5 on: July 24, 2008, 09:19:12 am »
Hi !

I am having the same probelm in fedora core 9, any ideas?
Maybe searching the forum and the wiki for vista, there are lots of thread/pages that deal with it...
Maybe posting a log output...
Maybe telling what MinGW version you use...
Maybe telling where you installed it and how you configured your compiler in C::B...

Dje

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Nothing happens when I press F9
« Reply #6 on: July 24, 2008, 09:32:44 am »
I am having the same probelm in fedora core 9, any ideas?

This bug has been fixed in revision 5159. So use a latest nightly build.
Be a part of the solution, not a part of the problem.