News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code::blocks and Allegro 5 linker questions

Started by cluelessnoob, May 06, 2021, 01:38:49 AM

Previous topic - Next topic

cluelessnoob

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?

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

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?