alleggl and linux

This is a discussion on alleggl and linux within the Game Programming forums, part of the General Programming Boards category; I cant find anything on linking alleggl on linux. I have been using allegro fine with `allegro-config --libs` but that ...

  1. #1
    Or working on it anyways mramazing's Avatar
    Join Date
    Dec 2005
    Location
    Lehi, UT
    Posts
    121

    alleggl and linux

    I cant find anything on linking alleggl on linux. I have been using allegro fine with `allegro-config --libs` but that does not do anything with the alleggl part. Does anyone know how to link alleggl in linux.

    I'm running the latest allegro and fedora 10
    -- Will you show me how to c++?

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    A preliminary Google search suggests that the statements "I'm running the latest allegro" and "I need alleggl" are mutually inconsistent, as this page seems to indicate that OpenGL support was folded into Allegro itself a while ago.

  3. #3
    Programmer in Training TWIXMIX's Avatar
    Join Date
    Feb 2004
    Posts
    57
    Quote Originally Posted by mramazing View Post
    I cant find anything on linking alleggl on linux. I have been using allegro fine with `allegro-config --libs` but that does not do anything with the alleggl part. Does anyone know how to link alleggl in linux.

    I'm running the latest allegro and fedora 10
    Hey, It's pretty simple to link allegro if you have it installed and are compiling via the command line. Simply:

    1)cd to your source location.
    2)run gcc -lalleg-4.2.2 sourcefiles.c

    Obviously, if you aren't running Allegro 4.2.2 just change that line accordingly. If there are no compilation errors, that short line should create an executable in the current directory called a.out.

    Hopefully that works!
    Learning C++
    Programmer in training

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21