#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    1
    Rep Power
    0

    Question what free compiler and free graphics library do u suggest?


    Hi,

    i need to compile and execute a simple graphics program in C++
    what free compiler and free graphics library do u suggest?
    I want both windows and linux support ....if such a compiler and graphics lib exists...else just windows support
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    12
    anything gcc based such as KDevelope for linux will do the trick, but as for a windows compiler that does the job i think you're going to have to shell out some money.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    1
    Rep Power
    0

    free compiler and graphics library?


    For your free compiler get Dev-C++. It's based on the excellent MingW (gcc) based compiler and has a very user-friendly interface. Get it at:

    http://www.bloodshed.net

    For your free graphics library I'd get SDL (Simple DirectMedia Layer) which not only handles graphics (2D and 3d via OpenGL) but has sound support as well:

    http://www.libsdl.org/index.php

    If you're using Windows as your development platform, this combination will do a very good job of creating a project you can easily port to Linux. They're both closs-platform technology or are based around it. You'd have a much harder time porting anything written in commercial compilers that use unusual/non-standard-compliant formats (such as those in use by Borland or MS).
    Last edited by dyscotopia; December 20th, 2002 at 05:55 PM.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Location
    Flint, MI
    Posts
    328
    Rep Power
    12
    Your question inspires some more questions about your needs.

    First, do you also need to develop this software, or are you just compiling someone else's code?

    If you're compiling code that someone else wrote, you'll probably need to match their environment reasonably well, unless you're willing to re-create their build process. The libraries will be your biggest trick.

    If you're also writing this software, the aforementioned dev-c++ package should do the trick, or mingw (http://www.mingw.org), which is the base for dev-c++
    Clay Dowling
    Lazarus Notes
    Articles and commentary on web development
    http://www.lazarusid.com/notes/

IMN logo majestic logo threadwatch logo seochat tools logo