Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Ubuntu 6.12 + Allegro problem..

Credits go to Evert, Goalie Ca, Kauhiz, and Onewing for helping out!
This thread is locked; no one can reply to it. rss feed Print
Ubuntu 6.12 + Allegro problem..
Donald_W
Member #7,982
November 2006

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
Member #794
November 2000
avatar

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

Onewing
Member #6,152
August 2005
avatar

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

------------
Solo-Games.org | My Tech Blog: The Digital Helm

Kauhiz
Member #4,798
July 2004

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

---
It's Ridge Racer! RIIIIIDGE RAAAAACER!

Goalie Ca
Member #2,579
July 2002
avatar

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

-------------
Bah weep granah weep nini bong!

Donald_W
Member #7,982
November 2006

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.

Go to: