User forums > Help
Ubuntu Nightly Build
Jenna:
--- Quote from: chewanater on May 10, 2009, 02:58:29 am ---
--- Quote from: jens on May 09, 2009, 10:23:56 am ---
--- Quote from: chewanater on May 09, 2009, 01:51:09 am ---I have it installed and I got Allegro installed, but when I try to use Allegro functions it says "undeclared', and opens the allegro header file. I can put "#include<allegro.h>" at the beginning and it still compiles. I tried going to project properties> libraries, but I couldn't find allegro. What should I do?
--- End quote ---
Add it !
--- End quote ---
Add what?
--- End quote ---
The allegro-library.
Find out where it is installed, and if the install-directory is not in the standard (linker-)search-path ("/usr/lib") add the folder to the Linkers search directories (in your projects build options).
Add the library to the library list in your projects linker settings, normally it should be enough to add it without the "lib"-prefix and the ending (either "so" or "a").
I do not ave allegro installed, but on debian (and therefore on ubuntu, too) its most likely "liballeg.[so|a]", so adding "alleg" should be enough to link against the library.
chewanater:
Yah it works now! :D
Navigation
[0] Message Index
[*] Previous page
Go to full version