Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: cluelessnoob on May 06, 2021, 01:38:49 am

Title: Code::blocks and Allegro 5 linker questions
Post by: cluelessnoob 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?
Title: Re: Code::blocks and Allegro 5 linker questions
Post by: stahta01 on May 06, 2021, 03:14:56 am
https://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (https://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Title: Re: Code::blocks and Allegro 5 linker questions
Post by: Miguel Gimenez 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?