How to use the CodeLite with the samples of wxWidgets

General questions regarding the usage of CodeLite
jecdiniz
CodeLite Curious
Posts: 2
Joined: Thu Jan 14, 2010 7:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to use the CodeLite with the samples of wxWidgets

Post by jecdiniz »

How should I proceed to make a use CodeLIte with the samples of wxWidgets. I am using the wxWidgets 2.8.10 and the Ubuntu 9.10.

TIA

Eduardo
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to use the CodeLite with the samples of wxWidgets

Post by eranif »

Make sure you got the following installed on your machine:

libwxgtk2.8-dev
to compile debug configuration, you will also need to install: libwxgtk2.8-dbg
to install it:

Code: Select all

sudo apt-get install libwxgtk2.8-dev

Code: Select all

sudo apt-get install libwxgtk2.8-dbg
Next, create an empty workspace in codelite, place it anywhere on the disk, for example: '/home/youname/wx_samples'

Next, open the Plugins menu, and select: 'Plugins > Gizmos > New wxWidgets Project Wizard...'

Select the simple project: "Simple main with wxWidgets enabled"

Click OK and build the project ( to make sure everything is installed properly )

Now, open the directory of the sample you want to run (usually the wxWidgets samples have a single file), for this example, lets assume that you want to run 'aui' demo.
so open the file auidemo.cpp inside codelite, and copy its entire content and paste it into your main.cpp file. Compile the project and run it

Eran
Make sure you have read the HOW TO POST thread
jecdiniz
CodeLite Curious
Posts: 2
Joined: Thu Jan 14, 2010 7:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to use the CodeLite with the samples of wxWidgets

Post by jecdiniz »

When I access the option Plugins in main menu I got the option Manage Plugins who is give me the plugins disponibles. I would like to know where I configur the directory of Plugins and where is the plugins. I instaled the CodeLite using:

sudo apt-get install codelite

Someone has some documentation about CodeLIte? I will appreciate some help.

TIA

Eduardo
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to use the CodeLite with the samples of wxWidgets

Post by eranif »

jecdiniz wrote:sudo apt-get install codelite
You installed the codelite from the repositories of Ubuntu (which I dont maintain). It contains a pretty old version of codelite.

I recommend the following:

- Uninstall this version and delete the ~/.codelite directory completely.
- Download the Ubuntu package from sourceforge:

For 32 bit:
https://sourceforge.net/projects/codeli ... b/download

For 64 bit:
https://sourceforge.net/projects/codeli ... b/download

to install it:

Code: Select all

sudo dpkg -i /path/to/deb/file
This package includes *all* codelite plugins (and a much more recent version of codelite)

The documentation is here:
http://codelite.org/LiteEditor/Documentation
If you can contribute some documentation - it will be much appreciated.

If you need something more complex or something that is not documented, you can either join IRC channel #codelite @ irc.freenode.net

Or just ask here in the forum (I don't think that there is someone who asked anything on this forum and I did not reply to him)

Note that using the SF version of codelite, you will get notifications whenever I release a newer version of codelite (it happens at around the 20th of each month)

Eran
Make sure you have read the HOW TO POST thread
Post Reply