Author Topic: how to compile a single .cpp file  (Read 3325 times)

subvertman

  • Guest
how to compile a single .cpp file
« on: September 12, 2005, 04:51:22 pm »
i tried to compile a single .cpp file but got message "command execution failed". comment please.


[attachment deleted by admin]

Offline .angelo

  • Multiple posting newcomer
  • *
  • Posts: 71
  • I'm just a newbie here.
    • .angelo home-page
Re: how to compile a single .cpp file
« Reply #1 on: September 12, 2005, 05:53:42 pm »
download latest cvs compiled version from ceniza :)
This version help me, so should help ya. 8)
I'm not my father son.
http://angelo.h-q.pl (English available!)

subvertman

  • Guest
Re: how to compile a single .cpp file
« Reply #2 on: September 12, 2005, 06:08:42 pm »
detail please. link please?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: how to compile a single .cpp file
« Reply #3 on: September 13, 2005, 11:21:35 am »
Look here: http://forums.codeblocks.org/index.php/topic,559.0.html

The actual download location is http://gda.utp.edu.co/~ceniza/CodeBlocks/.

The "officially released" versions (well, Ceniza's builds are practically official, too ;)) are a bit outdated and require you to have a project to be able to compile something.
It somehow makes sense, too, because you would usually want to have more than one source file and save compiler settings, etc.
However, for those who really just need to compile one demo source quickly, that feature has been added to the upcoming "official" releases. For now, use Ceniza's build, or compile Code::Blocks from CVS. :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."