Page 1 of 2
					
				Getting started
				Posted: Sat Aug 02, 2008 1:46 pm
				by alice
				Hello,
I just installed CodeLite on Windows and I tried to run the simple program "Hello World".
In the output it didn't print the message. Should I do something before?
			 
			
					
				Re: Getting started
				Posted: Sat Aug 02, 2008 6:23 pm
				by eranif
				Hi,
1. Do you have gcc/g++ or any other compiler installed? - note that CodeLite does not come with bundle compiler, you need to install it separately.
2. Can u please post here the output from the following tabs (from the bottom pane 'Output View'):
'Output'
'Build'
'Trace'
Eran
			 
			
					
				Re: Getting started
				Posted: Sat Aug 02, 2008 9:45 pm
				by alice
				I've got Dev-C++ and Visual Studio.
The output from the tabs are as following:
'Output': Current working directory: D:\CodeLite\helloworld
             Running program: le_exec.exe ./helloworld
'Build':       -s               Silent, does not print commands before doing them
               -? or -h         Prints this message
               Options marked with '+' are on by default. To turn off a default
                   option follow it by a '-', for example: -a-
               ----------Build Ended----------
'Trace': 20:30:48: Loaded debugger: GNU gdb debugger, Version: v1.0
           20:30:49: Loaded plugin: Source Code Formatter (AStyle) 
           20:30:49: Loaded plugin: Copyright Plugin - a small plugin that allows you to place copyright block on top of your source files
           20:30:49: Loaded plugin: Cscope Integration for CodeLite
           20:30:49: Loaded plugin: Gizmos Plugin - a collection of useful utils for C++
           20:30:49: Loaded plugin: Subversion
           20:30:49: Loaded plugin: A Unit test plugin based on the UnitTest++ framework
           20:30:52: Info: CodeLite is up-to-date (or newer), version used: 1868, version on site:1868
			 
			
					
				Re: Getting started
				Posted: Sat Aug 02, 2008 9:54 pm
				by eranif
				alice wrote:I've got Dev-C++ and Visual Studio.
These are not compilers, but IDEs.
Which compiler do you use?
If you dont mind using g++ - download and install it from here: 
http://downloads.sourceforge.net/wxpack ... e?download
Once installation is complete, go to menu: 'Settings -> Environment Variables...'
Create new entry:
Name: PATH
Value: $(PATH);<path/to/mingw4/bin>
Click OK and close this dialog.
- right click on the project settings, and select 'g++' and the compiler.
Build it again.
Eran
 
			
					
				Re: Getting started
				Posted: Sat Aug 02, 2008 11:32 pm
				by alice
				I did what you said and it worked now.
I had also to change the Build Settings because I have Borland C++ installed.
Thanks a lot!
			 
			
					
				Re: Getting started
				Posted: Thu Aug 21, 2008 9:50 pm
				by aaulia
				Hi there eranif, I have similar problem, so I guess I just post it here (hopefully you read this, and this is Ok)  

 .
I Have this problem 
Code: Select all
Building: "mingw32-make.exe"  -j 1 -f "TestCodeLite_wsp.mk" type=Debug
----------Building project:[ stuff - Debug ]----------
g++: installation problem, cannot exec `cc1plus': No such file or directory
mingw32-make.exe[1]: *** [Debug/main.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
and sometimes, if CodeLite manage to find the cc1plus.exe it failed locating crtbegin.o.
I have try reintalling both CodeLite and MingW (as you suggest from wxPack website), setting the setting you showed here and it still occured.
I manage to get it working tho, once, with the previous dev revision, but after updating to the latest dev revision, the problem occured again.
Please help. I really like CodeLite, since it's kinda like CodeBlocks the lightweight version  

 
			
					
				Re: Getting started
				Posted: Thu Aug 21, 2008 10:00 pm
				by eranif
				aaulia wrote:g++: installation problem, cannot exec `cc1plus': No such file or directory
it appears to be a MinGW problem on Vista (which I am guessing that you are using)
Since you are familiar with CodeBlocks, I will give you the answer already been answered there:
http://forums.codeblocks.org/index.php/ ... 830.0.html
Eran
 
			
					
				Re: Getting started
				Posted: Thu Aug 21, 2008 10:29 pm
				by aaulia
				Wow weird, I'm using XP, anyway here is my installation details:
[*]Windows XP SP3 (probably why it doesn't work ?)
[*]MinGW_v4.2.1-dw2.3.exe
[*]CodeLite-1.0.2013.exe
I tried to redirect CodeLite to use the MingW that come with CodeBlocks, and it worked, I gues you are right, it's MingW installation problem, it still weird tho, since I'm in XP, maybe the MingW installer not compatible 
 
  
 
			
					
				Re: Getting started
				Posted: Thu Aug 21, 2008 10:36 pm
				by eranif
				I personally still using mingw 3.4.5 on XP SP3 and all is great...
Maybe I should contact the wxPack maintainer and report him about this bug.
Anyways, glad to hear that all is working now, and hope you like what you see 
 
Eran
 
			
					
				Re: Getting started
				Posted: Thu Aug 21, 2008 10:40 pm
				by aaulia
				Yup I like what I see, everything is 'snappy', although some file association won't hurt  
