How to build CodeLite using MinGW?

General questions regarding the usage of CodeLite
Loaden
CodeLite Enthusiast
Posts: 35
Joined: Sat May 02, 2009 1:56 pm
Contact:

How to build CodeLite using MinGW?

Post by Loaden »

Have some docments for build CodeLite? or wiki?
Thanks!!
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to build CodeLite using MinGW?

Post by eranif »

Loaden wrote:Have some docments for build CodeLite? or wiki?
On Windows:

- Download and install codelite with wx+mingw, for example, I would recommend to always pick latest:
https://sourceforge.net/project/downloa ... a=14653604
This will install codelite + mingw toolchain + WX
- You will need to define 2 environment variables:
WXWIN - which points to WX base installation directory (if you followed the installation wizard of codelite and kept the defaults, then it should be set to:

Code: Select all

C:\wxWidgets-2.8.7
WXCFG - with the value:

Code: Select all

gcc_dll\mswu
- Checkout codelite sources from the SVN:

Code: Select all

svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite
- Launch codelite, and open the workspace file 'LiteEditor.workspace' which is located under codelite/ directory of the files you just checkedout
- Hit F7
- Once build is done, you can copy the files to the target directory by running the script:

Code: Select all

cd codelite/Runtime
update.bat
On Linux, read this:
http://codelite.org/LiteEditor/Download
(search for the 'Linux' section)

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