|
Allegro install problems |
AngryAngry
Member #15,480
January 2014
|
Running Linux Slackware 13.37 DUMB INSTALLATION had multiple errors, most along the lines of: gcc -Iinclude -Wall -W -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -DDUMB_DECLARE_DEPRECATED -O2 -ffast-math -fomit-frame-pointer -c -o obj/unix/release/itread.o src/it/itread.c I'd post a link the the Linux Questions Forum (but it said something about URL's not being shown when I registered for here, if you want you can go to page 2 of Linux Questions/Software PHYSFS INSTALLATION error: sys/ucred.h - not found ALLEGRO INSTALLATION errors: Looking for include files ALLEGRO_HAVE_MACHINE_SOUNDCARD_H - not found. Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed gcc says it can't find Allegro.h, however after ages of searching I found the Allegro files (I've no idea where Linux installs programs). So how do I get gcc to know where Allgro library is? (assuming everything has been installed correctly). UPDATE on Physfs error: Nope: some BSD Unix systems have that header, but Linux doesn't. That We use that header for CD-ROM detection...Linux does the same thing in a --ryan. (I emailed this guy who manages Physfs webpage & that is his reply) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
After you install allegro, you need to register the libraries with ldconfig. The libraries go into /usr/local/lib I believe. sudo ldconfig My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
AngryAngry
Member #15,480
January 2014
|
Thats great. I'm quite disappointed that this wasn't mentioned in the installation instructions, as it seems to be a vital step as part of a 'complete installation'. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Which instructions are you referring to? There's no reason that can't be added to them. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
AngryAngry
Member #15,480
January 2014
|
Once I uncompressed Allegro there were several files on how to install Allegro on different systems. Yes, 'sudo ldconfig' should definitely be added. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
It should probably go in README_make.txt, as that is for building with make on *nix and MINGW. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|