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
Doesn't work is a bit too vague. What error message do you get?
Are you trying to build a game? Perhaps the code is bugged...
Can you get anything to run? The allegro examples? A simple "hello world" test?
Maybe the problem is there is no ubuntu 6.12 to begin with. Do you mean "Dapper" or "Edgy".
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
Thanks for all for help/willingness.