![]() |
|
Installing allegro 5.2 |
Scooter
Member #16,799
January 2018
|
Hi all: |
Niunio
Member #1,975
March 2002
![]() |
I recommend you to look for Allegro at your repository and use RPM tools to install it. It is much more easy and you won't deal with dependencies. ----------------- |
Scooter
Member #16,799
January 2018
|
Niunio: |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
There's nothing wrong with CodeBlocks. It's probably not finding runtime libraries when you run it separately. Check the current working directory and the LD_LIBRARY_PATH. As for static linking on Linux don't bother, it's a pain in the ass and it never works right. 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 |
Scooter
Member #16,799
January 2018
|
Edgar: What else must I do? Thanks for any help. |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
Because it is linking to a version you haven't installed? Is the file there? To install OpenGL, you need to install the mesa-dev packages for your distro. Can you share your .cbp file? I can't tell what is wrong without it. If you're using the global compiler for CB, don't it will only mess up future projects. Make sure you're using a dedicated project to build your program with. 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 |
Scooter
Member #16,799
January 2018
|
Edgar: Incidently, I only compile single files. Do I have to have a project file? edit: |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
You do realize Ubuntu 14 is 5 years old and counting, don't you? 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 |
Scooter
Member #16,799
January 2018
|
Edgar: |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
If you can run it from the command line, then your only real problem is configuring CodeBlocks. 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 |
Scooter
Member #16,799
January 2018
|
Edgar: I have no idea what needs to change in codeblocks. |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
First, tell me what Linux you are running, with version. And what version of CB you are running. First try to make a project. You can follow my directions here , but adapt them for Linux : https://wiki.allegro.cc/index.php?title=Windows,_Code::Blocks_and_Allegro_5 The libraries will be different, but the steps are the same. Set the search directories for the compiler and linker. Set the libraries to link. Set the runtime directory. Build and run the project. If this fails, post your .cbp project and I'll see if I can fix it. 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 |
Scooter
Member #16,799
January 2018
|
Edgar: I am using Lubuntu 18.04, codeblocks 16.01 |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
I'm using Lubuntu 19.10 in a VBox VM. First, install the latest codeblocks. sudo apt-get install codeblocks EDIT I have no problem setting up a project. Haven't tried to run anything yet. 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 |
Scooter
Member #16,799
January 2018
|
Edgar: |
|