Author Topic: Code::blocks and Allegro 5 linker questions  (Read 4435 times)

Offline cluelessnoob

  • Multiple posting newcomer
  • *
  • Posts: 18
Code::blocks and Allegro 5 linker questions
« on: May 06, 2021, 01:38:49 am »
I've installed Code::Blocks on Fedora 34 and installed the Allegro 5 library and and am having trouble. I believe the problem is I'm not linking properly.
Linker directory path and settings attached. I am able to compile from a terminal screen so I know Allegro is installed properly. I can't figure out what I did wrong, probably something simple. Any ideas?
« Last Edit: May 06, 2021, 01:40:50 am by cluelessnoob »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7298
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1112
Re: Code::blocks and Allegro 5 linker questions
« Reply #2 on: May 06, 2021, 10:29:46 am »
You are specifying the absolute path of the linked libraries, so the linker search directories is not needed.

When you post the full rebuild log, can you also post the command line that works in terminal?