Setting problems
-
- CodeLite Curious
- Posts: 1
- Joined: Fri Aug 29, 2008 9:53 pm
- Contact:
Setting problems
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 , should I install a gcc compiler first? How to set it?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Setting problems
Please copy/paste here the content of the 'Trace' and 'Build' tabssubmarine wrote:i can't see the window to show the helloworld
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:submarine wrote:should I install a gcc compiler first?
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
Code: Select all
$(PATH);C:\MinGW\bin
Eran
Make sure you have read the HOW TO POST thread