Setting problems

CodeLite installation/troubleshooting forum
submarine
CodeLite Curious
Posts: 1
Joined: Fri Aug 29, 2008 9:53 pm
Contact:

Setting problems

Post by submarine »

Hi, I just download a codelite, try to start a helloworld, but when I run the helloworld.c file, i can't see the window to show the helloworld :cry: , should I install a gcc compiler first? How to set it?
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Setting problems

Post by eranif »

submarine wrote:i can't see the window to show the helloworld
Please copy/paste here the content of the 'Trace' and 'Build' tabs
submarine wrote:should I install a gcc compiler first?
Yes, codelite does not come bundled with gcc compiler. I am guessing that you are on Winodws, so I would suggest to download MinGW (g++/gcc/gdb) from here:

http://downloads.sourceforge.net/wxpack ... e?download
Make sure you install it in directory without spaces (e.g. C:\MinGW is a good location)

Once installed, start codelite again, go to 'Settings -> Environment Variables...'

in the dialog that opens, click on the 'New...' button, a new small dialog will open
in the 'Variable Name' field, type:

Code: Select all

PATH
in the 'Variable Value' field, type:

Code: Select all

$(PATH);C:\MinGW\bin
Click OK and close the environment variable dialog. Try to compile hello world sample again.

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