Ubuntu 6.12 + Allegro problem..
Donald_W

Hello,

When I compile Allegro programs I get no error due compilation, also I've done error checking... But if I try to run it, Allegro don't work, keyboard functions, nor graphics functions... It's correctly installed (I've read how to install it on the forum).

Thanks in advance for help,
Donald_W

Evert

Doesn't work is a bit too vague. What error message do you get?

Onewing

Are you trying to build a game? Perhaps the code is bugged...

Kauhiz

Can you get anything to run? The allegro examples? A simple "hello world" test?

Goalie Ca

Maybe the problem is there is no ubuntu 6.12 to begin with. Do you mean "Dapper" or "Edgy".

Donald_W

Yep, It's 6.10, but it's so called 6.12 (PL version), and I create simple Allegro program which uses:

allegro_init();
install_keyboard();
set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, 0); + error checking
readkey();
allegro_exit();
and at the end of program END_OF_MAIN()

It's built without any problems by gcc/g++, but when I try to run it nothing appears, and on supervisor I get fullscreen console which crashes my computer.

I'm quite experienced in using Allegro but I was working on DOS/Windows, and few days ago I've switched to Ubuntu..

@EDIT:
Ok, all works fine, Ubuntu had problems with my graphics card drivers, but I've installed them manually and it works :D Thanks for all for help/willingness.

Thread #589747. Printed from Allegro.cc