Thread: Graphics Library

  1. #1
    Registered User
    Join Date
    Dec 2004

    Graphics Library

    My current compiler is Dev-C++ and I am trying to make a Pong remake. I don't know much about programming and hardly any about adding graphics into a game. But I was told I need to get a graphics library (or something of that nature) such as allegro in order to add even 2d graphics into a game. I went and looked up allegro, and when I found it I downloaded it. I found a tutorial for making pong in DJGPP and allegro. I read some of it but I got lost pretty quickly and I was just wondering if DJGPP was a totally different compiler and if allegro is not compatible with Dev-C++. If it isn't, can you please point me in the direction of another graphics library that I can use in Dev-C++ or tell me what I am looking for?? Any help you can offer is very greatly appreciated.


  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Get MSVC 6 or .NET student edition.
    Download the DirectX SDK or get an update version of OpenGL.

    Buy some books, do some research, code, code, code.

    Have at it.

    Dump DJGPP. Dump Allegro. Dump the old DOS stuff. It's just not worth it anymore - for high end games and graphics, that is.
    Last edited by VirtualAce; 12-23-2004 at 12:35 AM.

  3. #3
    Join Date
    Oct 2004
    Forget Allegro learn D3D its very easy and you will pick it up quik

  4. #4
    Join Date
    May 2004
    To answer your question, Allegro does work with dev-c++. dev-c++ uses a windows port of gcc (called mingw32) just like DJGPP is a dos port of gcc. Did you need to compile it? If so then you probably need to compile it again for mingw32. After that just #include "allegro.h" and link to liballeg or whatever it is.

  5. #5
    Join Date
    Oct 2004
    Do a search for SDL.
    Microsoft is merely an illusion, albeit a very persistant one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using graphics library
    By arch in forum C++ Programming
    Replies: 2
    Last Post: 01-11-2008, 04:31 PM
  2. GD Graphics Library
    By Welder in forum Windows Programming
    Replies: 0
    Last Post: 11-01-2007, 06:46 PM
  3. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  4. Need some help choosing a good graphics library
    By dead_cell in forum Game Programming
    Replies: 31
    Last Post: 01-08-2003, 01:30 PM
  5. Graphics library?
    By Paninaro in forum C Programming
    Replies: 6
    Last Post: 06-24-2002, 08:35 PM