I Need Help With Allegro.

This is a discussion on I Need Help With Allegro. within the Game Programming forums, part of the General Programming Boards category; How can I compile an allegro example?? What lines must I add in the compiler so it works or what ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    75

    I Need Help With Allegro.

    How can I compile an allegro example?? What lines must I add in the compiler so it works or what must I do?? It shows lots of linker errors coz it cant find the functions of the example I want to compile. I''ve tried many things like adding -l"C:\GAMES\DEV-C++\include\allegro" in the compiler options but it continues to show the same linker erros like
    [Linker error] undefined reference to `install_allegro'
    [Linker error] undefined reference to `itofix'

    and dozens more of that kind.






    Helpeee!
    ---Programming is like roaming, you never know where you'll end at------

    If 'here' is pronounced as 'hear', why 'there' isnt pronounced as 'dear'??

    paninaro3000@yahoo.com

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Link the lib "liballeg.a" without the quotes. Doesn't anyone read the manual that comes with it?

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    75

    how?

    AND HOW DO I LINK IT??
    ---Programming is like roaming, you never know where you'll end at------

    If 'here' is pronounced as 'hear', why 'there' isnt pronounced as 'dear'??

    paninaro3000@yahoo.com

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    It depends on the version you are currently using

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Allegro in C for a newb
    By Ideius in forum C Programming
    Replies: 5
    Last Post: 12-29-2005, 03:36 PM
  2. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  3. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 02:45 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. Allegro programming in a window
    By Person Man in forum Windows Programming
    Replies: 0
    Last Post: 11-16-2001, 02:23 PM

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