Thread: I got DJGPP, but now for Allegro

  1. #1
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584

    I got DJGPP, but now for Allegro

    What do I need to do (beside download Allegro) to start using Allegro with DJGPP? I want to start using that library, but what do I need to do? Thanks...

    --Garfield
    1978 Silver Anniversary Corvette

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    To use Allegro with DJGPP, download the new 4.0 version and compile it. That is available, with some nice links and info, here.

    If you would also like to use Allegro with MSVC, Dev-C++, or Borland compilers, go to my site for the graphical install approach.

    For tutorials go here, where they have a huge community of Allegro game developers, many of whom have tutorials. Also, see what I posted about getting started here.

    Hope that helps.

    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    When you say "compile it", what do I compile?

    --Garfield
    1978 Silver Anniversary Corvette

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Usually, you get a lib as a .lib or .a or whatever. If you are going with DJGPP, then you just get a whole bunch of .c files. You have to compile them all into the lib. They do this for the download size and so you can tinker with the source. If you go with my installer, then there isn't anything to compile unless you want to tinker with the source.

    The readme for DJGPP which you unzip when you've downloaded Allegro will tell you everything you need to know how to get started and how to compile it.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  5. #5
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> If you go with my installer, then there isn't anything to compile unless you want to tinker with the source. <<

    Okay, I think I will. What is the link to it? And, when I download it, what do I have to do then? Thanks...

    --Garfield
    1978 Silver Anniversary Corvette

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    http://galileo.spaceports.com/~springs/

    Just download the file/files you need, and follow the instructions on the web page. My installer does not support DJGPP, however, so for that you would have to compile it yourself.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  7. #7
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Okay, I'll just compile for myself so I can use DJGPP. So, when you say compile to make the lib from all the source (.c), how exactly would I do that? Thanks, Justin, I really appreciate this!!!

    --Garfield
    1978 Silver Anniversary Corvette

  8. #8
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    I think I changed my mind. I want to do this in MSVC (because you have everything compiled ). So, I have to dl those three files and then do what with them? Just run that .exe? Thanks.
    1978 Silver Anniversary Corvette

  9. #9
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    When you download them, you unzip them and double click "join.bat" to turn them into the executable. Double click the executable and follow the yellow brick road.

    [edit] You might want to explore the Allegro directory after you're done so you can see where all the tools and docs are.[/edit]
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  10. #10
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> [edit] You might want to explore the Allegro directory after you're done so you can see where all the tools and docs are.[/edit] <<

    What do you mean, tools? I thought it would just be something like (code example):

    #include <allegro.h>

    int main()
    {
    /**** USE ALLEGRO FUNCTIONS AND THE SORT ****/
    }

    What are the tools? Thanks, again...
    1978 Silver Anniversary Corvette

  11. #11
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    That is how it is. The tools are just there to help you do cool stuff, like import fonts, change color depths of bitmaps, show you how to make your programs into screen savers, examples, etc...
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  12. #12
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Thanks, Justin. I'll try to get it working and I'll come to you with more problems.

    --Garfield
    1978 Silver Anniversary Corvette

  13. #13
    Registered User
    Join Date
    May 2002
    Posts
    100
    justin w.....

    i used your installer and i did everything it said but i get this error when i try to compile

    [error]
    MAKE Version 5.2 Copyrite (c) 1987, 2000 Borland
    FATAL ' all' does not exist - dont know how to make it
    [/error]

    im useing Dev-C++...


    please help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI in DJGPP
    By bakia in forum C Programming
    Replies: 2
    Last Post: 05-20-2005, 12:29 AM
  2. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 07:35 AM
  3. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 07:16 PM
  4. DJGPP assembly syntax ills...
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-11-2001, 02:54 AM
  5. DJGPP help needed
    By dune911 in forum C++ Programming
    Replies: 6
    Last Post: 09-15-2001, 04:56 PM