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
Getting started
-
- CodeLite Curious
- Posts: 2
- Joined: Tue Aug 27, 2013 4:30 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Getting started
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.
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Getting started
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
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
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Tue Aug 27, 2013 4:30 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Getting started
Thanks, Jarod42, for your helpful reply.
Thanks, eranif, for pointing me in the right direction.
I'll get stuck into it.
JJ
Thanks, eranif, for pointing me in the right direction.
I'll get stuck into it.
JJ
-
- CodeLite Curious
- Posts: 1
- Joined: Sat Oct 19, 2013 12:11 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Getting started
Can compile single file in Codelite without make project before?
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Getting started
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++.
Simple way is create a console project with gcc, or g++.