Nothing Happens When I Press F9 - Code::Blocks Forums

Code::Blocks Forums Welcome, Guest. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length

News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

  • Code::Blocks Forums »
  • User forums »
  • Help »
  • Nothing happens when I press F9
« previous next »
  • Send this topic
  • Print
Pages: [1] Go Down

Author Topic: Nothing happens when I press F9 (Read 18250 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 machineat the office and it seems to be working when I tried to compilea command prompt programme ( console application? ).Back at home I have a computer on Vista ... when I do build andrun the simple c++ code. with basic cout stuff. The build log juststall, 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.. Logged

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 compilerworked... but after installing the packages everything is still the same. Nothingcompiles 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:\codeblockthen 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. Logged

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
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. Logged

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!:) Logged

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? Logged

Offline dje

  • Lives here!
  • ****
  • Posts: 682
Re: Nothing happens when I press F9
« Reply #5 on: July 24, 2008, 09:19:12 am » Hi !Quote from: newb22 on July 24, 2008, 03:31:46 am
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 Logged

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 » Quote from: newb22 on July 24, 2008, 03:31:46 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. Logged Be a part of the solution, not a part of the problem.
  • Send this topic
  • Print
Pages: [1] Go Up « previous next »
  • Code::Blocks Forums »
  • User forums »
  • Help »
  • Nothing happens when I press F9
  • SMF 2.0.18 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2

Tag » Code Blocks F9 Not Working