Page 1 of 1

Getting started

Posted: Tue Aug 27, 2013 4:47 pm
by JimJoyce
Hi, I'm completely new to Codelite.
I'm surprised there's no Help.
I'm surprised no-one else is asking these questions in the 'Help Forum'

I can load and read my source cods xxx.c
How do I create a workspace?
How do I create a Project?
How do I compile?
How do I Run?

Toolbar/Build
provides 'Build Workspace', not that it helps much.
'Build Project' is dead.

It also provides 'Run' - but -
there's no 'Compile' option
Do I run my source-code?
Does it create an object or executable?
If so, where?

Sorry, for being such a pest,
but hope you can steer me in the right direction.
Codelite seems to be an extremely powerful IDE.
Thanks

Re: Getting started

Posted: Tue Aug 27, 2013 5:09 pm
by Jarod42
A workspace is mostly a collection of projects.
A project is mostly a collection of files and the settings to know how to compile them.
You need to have a project to compile/run.

Workspace -> New workspace... to create a new workspace.
Workspace -> New project to create a new project inside a workspace.

To compile:
Build -> Build project
Build -> Build workspace
or use key accelerator or click on the corresponding icon of the toolbar or right click on project/workspace and select build.

To run:
Build->run
or key accelerator or the toolbar.

Re: Getting started

Posted: Tue Aug 27, 2013 5:11 pm
by eranif
codelite's help is placed online (wiki)

To start an hello world application:

http://codelite.org/LiteEditor/HelloWorld

More docs can be found here:
http://codelite.org/LiteEditor/Documentation

I am not sure why people never asked this, my guess is that they had some experience with other IDEs so the concepts was clear to them
About workspace / project:

http://codelite.org/LiteEditor/WorkspacesAndProjects
Eran

Re: Getting started

Posted: Wed Aug 28, 2013 2:22 pm
by JimJoyce
Thanks, Jarod42, for your helpful reply.
Thanks, eranif, for pointing me in the right direction.

I'll get stuck into it.
JJ

Re: Getting started

Posted: Sat Oct 19, 2013 12:50 pm
by theliberty
Can compile single file in Codelite without make project before?

Re: Getting started

Posted: Sun Oct 20, 2013 3:37 am
by Gibbon1
You need to create a workspace and a project, then add the file you want to compile to the project before you can use codelite to compile it.

Simple way is create a console project with gcc, or g++.