Author Topic: Why I can not use item "run" directly?  (Read 3490 times)

shyboymu

  • Guest
Why I can not use item "run" directly?
« on: June 11, 2007, 07:48:17 pm »
I can only use item  "compile current file" correctly, but the item "run" is still grey, I can not use it to produce the result to screen,How can I do to use it normally.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Why I can not use item "run" directly?
« Reply #1 on: June 11, 2007, 07:48:46 pm »
Create a project with at least one runnable target.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

shyboymu

  • Guest
Re: Why I can not use item "run" directly?
« Reply #2 on: June 11, 2007, 07:52:59 pm »
Thank you ,sir

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Why I can not use item "run" directly?
« Reply #3 on: June 12, 2007, 07:53:33 am »
Run should work without a project. I just tried that and it works fine here (revision 3991, Linux).

What version of Code::Blocks are you using?