PDA

View Full Version : Cannot Display Error



Das Ein
February 23rd, 2006, 07:37 AM
Error:
http://img60.imageshack.us/img60/9874/screenshot6lz.th.png (http://img60.imageshack.us/my.php?image=screenshot6lz.png)

Program:
http://img60.imageshack.us/img60/5539/screenshot15ir.th.png (http://img60.imageshack.us/my.php?image=screenshot15ir.png)

gord
February 23rd, 2006, 07:46 AM
.o files are 'object' files, you don't run them.

you need to press the 'build' button, then an executionable file will be created with the same name as your project (by default)

Das Ein
February 23rd, 2006, 07:51 AM
Heh, I'm new to Ubuntu programing :r

Anyways now I see: http://img113.imageshack.us/img113/7789/screenshot25mj.th.png (http://img113.imageshack.us/my.php?image=screenshot25mj.png), but when I double click 'helloworld' nothing happens. Yet again sorry if I am missing something obvious.

gord
February 23rd, 2006, 07:56 AM
you need to run it from a console
make sure you are in your home directory (the one with the helloworld application)


./helloworld

Das Ein
February 23rd, 2006, 08:01 AM
Thank you very much.

Another question: Is there a way I can make a 'launcher' for the program?

gord
February 23rd, 2006, 08:30 AM
im not sure what you meen by launcher. if you are looking for a quick way to run it from anjuta, just press F3. if you meen a desktop laucher (shortcut), just make one like normal but check the 'run in console' button