Where do I put allegro?

This is a discussion on Where do I put allegro? within the Game Programming forums, part of the General Programming Boards category; Ok, I am new to game programming but have done quite a bit of C++ programming at university. I downloaded ...

  1. #1
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Posts
    801

    Where do I put allegro?

    Ok, I am new to game programming but have done quite a bit of C++ programming at university. I downloaded allegro but the problem is that I am not too sure on where to put it. The download consists of lots of different files and folders and my C++ compiler (Borland) also has loads of folders. I know that in order to use allegro you have to tell the compiler where the library is. How do you do this?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    3
    There should be instructions in allegro\docs\build

    usully you type something like

    cd c:\allegro
    fix.bat bcc32
    make
    make install

    and all the files fill be copied to the right folders and you can then make programs, linking with alleg.lib

  3. #3
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Posts
    801
    Yeah I tried that but you have to have make right? So I tried downloading a file called GNU Make as directed by the allegro instructions and then running it. It then wouldn't work. Any ideas what the problem is?

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    What version of Borland's compiler do you have? See my sig for a graphcial installer for Allegro with Borland that requires no make or command line at all. Has worked with all versions of Borland that it has been tested with so far, but that is only the free command line tools (5.5) and a recent Borland Builder. Haven't had the opportunity to try anything else yet.. but I've heard that version 4 Borlands have trouble with Allegro in general.

    Hope that helps.

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

  5. #5
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    What if i'm using windows?

  6. #6
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Posts
    801
    I'm using Borland 4.5. Will this present me with a problem?

  7. #7
    Registered User
    Join Date
    Mar 2002
    Posts
    31

    Talking My Best Bet is Dev- C++ 4 :D

    My best bet is to use a free IDE compiler named Dev-C++ 4 from the company www.bloodshed.net . I find that compiler very good and it supports Allegro and OpenGL to the fullest . Just go to the site and download the Allegro Packages and install it and it will install it self into the Dev-C++ folder. Thats all to it and bam you can use Allegro.
    - Read to Learn, and Learn to Read -

  8. #8
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336

    Post MSVC++

    If you want to use Allegro, I would recommend going out and spending $100 on MSVC++ 6.0. Allegro easily installs and you can get a wizard to start setting up you Allegro app.
    Give me a bad reputation!!!

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    why pay when u can get it for free!

    btw i have msvc++ and dev-c++ i would recommend dev-c++
    cause it's much better than microsofts visual ****
    it has happend many times that i get errors using msvc++
    but with dev the same code would compile without a singel error!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. allegro issues
    By mramazing in forum C++ Programming
    Replies: 1
    Last Post: 01-07-2009, 11:56 PM
  2. How to (let the code) put an object into a game.
    By FromHolland in forum C++ Programming
    Replies: 5
    Last Post: 04-10-2003, 04:44 AM
  3. allegro
    By |deep| in forum Game Programming
    Replies: 7
    Last Post: 06-15-2002, 04:57 PM
  4. allegro game problem
    By pode in forum Game Programming
    Replies: 12
    Last Post: 04-20-2002, 04:26 PM
  5. Allegro and the Win32 API
    By -leech- in forum Game Programming
    Replies: 1
    Last Post: 02-12-2002, 09:08 PM

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