Trouble with "Hello World"

General questions regarding the usage of CodeLite
highwayman
CodeLite Curious
Posts: 2
Joined: Sat Dec 12, 2009 10:13 pm
Genuine User: Yes
IDE Question: C++
Contact:

Trouble with "Hello World"

Post by highwayman »

My questions/troubles relates to the Hello World video tutorial.
http://codelite.org/docs/VideoTutorials/HelloWorld.html

I ran into trouble right away... so much that I began looking for revision 1665 (used in the video) to replace the current revision 3365. I couldn't find it.
So here are the points in the video where I run into trouble...

0:08 "executable" project. Not an option. Is it implied?
1:08 Breakpoint disappears when debug is run.
1:08 Debugger window does not appear automatically. I added it manually.
1:08 Debugger window does not list value of 'i' when forced. Disappears when I run debugger.
1:22 Completely different drop-down menu. 'Add Include file for "i"'
1:27 >| button does not exist.

If anyone can point me in the right direction... either some settings or details that I missed (or even revision 1665), I would appreciate it.

Thanks in Advance,
Thad
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Trouble with "Hello World"

Post by eranif »

That video is really old.

To create a simple hello world:

- Close the workspace (if you have any opened)
- From the menu: Workspace -> New Project
- From the 'New Project' dialog, select Category 'Console' and then 'Simple executable (g++)'

Click OK, next, hit F7 and you are done

Eran
Make sure you have read the HOW TO POST thread
highwayman
CodeLite Curious
Posts: 2
Joined: Sat Dec 12, 2009 10:13 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Trouble with "Hello World"

Post by highwayman »

Thanks for getting me this far...

When I press F7, I get the following error in the build window:
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 1 -f "hello_world_wsp.mk""
'"mingw32-make.exe"' is not recognized as an internal or external command,
operable program or batch file.
When I press F5, I get the same error, plus a pop-up window.
Failed to locate gdb! at 'gdb'
Running the code (Ctrl-F5) produces a blank screen (except 'the press any key')
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Trouble with "Hello World"

Post by eranif »

Download codelite package which is bundled with MinGW (compiler+debugger)

Uninstall codelite.

Install this codelite package:
http://sourceforge.net/projects/codelit ... e/download

Re-open your workspace and try again.
Eran
Make sure you have read the HOW TO POST thread
Post Reply