Results 1 to 7 of 7

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

  1. #1

    Default How to use Allegro on Code::Blocks?

    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?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,245

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

    Hello and welcome here.

    I am not a developer and I do not know the answer. But why didn't you post this in one of the sub-forums of the Development forum here: https://forums.opensuse.org/forumdis...97-Development.

    When you want me to move this to one of them there, please say so here or use the Report button (the triangle with !) below the post.
    Henk van Velden

  3. #3

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

    Quote Originally Posted by hcvv View Post
    Hello and welcome here.

    I am not a developer and I do not know the answer. But why didn't you post this in one of the sub-forums of the Development forum here: https://forums.opensuse.org/forumdis...97-Development.

    When you want me to move this to one of them there, please say so here or use the Report button (the triangle with !) below the post.


    Hey hcw! The applications forums says it's also open for configuration problems which is my case, It's not a development/code issue itself, it's just a problem on how to configure Code::Blocks to use Allegro 5.

    I don't mind to move the post, I just need help!

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,245

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

    Quote Originally Posted by pctammela View Post
    Hey hcw! The applications forums says it's also open for configuration problems which is my case, It's not a development/code issue itself, it's just a problem on how to configure Code::Blocks to use Allegro 5.

    I don't mind to move the post, I just need help!
    OK, when you think it draws a better audience here, we leave it as it is. In any case, our conversation might highlight this thread
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,088
    Blog Entries
    15

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

    Quote Originally Posted by pctammela View Post
    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!

  6. #6

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

    Quote Originally Posted by malcolmlewis View Post
    This doesn't works...

    But I found a solution! Might post a tutorial.

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

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

    you need to install the allegro devel packages
    Code:
    sudo zypper in liballegro-devel
    if you want to have allegro integrated in the code::blocks GUI you need to get adition code::blocks wizard scripts
    see
    http://wiki.codeblocks.org/index.php...Wizard_scripts
    for allegro scripts try here
    http://members.allegro.cc/h8or/files...codeblocks.zip
    you need to get the allegro wizards from the zip above, unpack them somewhere in your home and then edit code:blocks gui to show them.

    hope this helps

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •