Re: How to use Allegro on Code::Blocks?

Originally Posted by
pctammela
I'm have been trying lately to do some development on Linux and gave OpenSUSE 13.2 a try, I have installed Code::Blocks and found that Allegro 5 is in the games repo.
I got allegro 5 from there, added the repo and did a zypper install but how do I tell code::blocks to use allegro?
Hi
From http://www.dreamincode.net/forums/to...in-ubuntu-804/
Allegro is not linked up to Code::Blocks by default so in your IDE select Settings > Compiler and Debugger > Linker Settings and type the following into "Other linker options"
Code:
allego-config --libs --static
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!
Bookmarks