Recommended Compiler for OpenGL

This is a discussion on Recommended Compiler for OpenGL within the Game Programming forums, part of the General Programming Boards category; The only compiler I have right now is Dev-C++. I've heard that this does not work for using OpenGL, and ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    11

    Recommended Compiler for OpenGL

    The only compiler I have right now is Dev-C++. I've heard that this does not work for using OpenGL, and that Visual C++ is better. Can you give me some advice on what to choose if DevC++ isn't good enough, and where to get it?

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Meh. Dev-C++(Mingw(GCC) ) works fine with GL.
    Woop?

  3. #3
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    I use vs 2005 express edition (the free one)...

    And quite frankly it was a pain to setup..

    But now it works fine.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  4. #4
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    About the only advantage Visual C++ has (technical issues), is that is has slightly more optimized code. You can expect that, because of course, Microsoft made it. Go with Dev C++. It's using the popular compiler GCC, so you're using what all the Linux people are using, except that you have a different IDE (integrated development enviroment). The only time you would want to use VC++ is if you want to program in Microsoft's proprietory graphic's API, DirectX, because that's the only compiler that can do DirectX .

  5. #5
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    You may have been told that it doesn't work well with OpenGL because they weren't able to link anything correctly. OpenGL works anywhere, given you link libraries correctly. I would use VS, only because I know the IDE very well.

  6. #6
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by joeprogrammer
    About the only advantage Visual C++ has (technical issues), is that is has slightly more optimized code. You can expect that, because of course, Microsoft made it. Go with Dev C++. It's using the popular compiler GCC, so you're using what all the Linux people are using, except that you have a different IDE (integrated development enviroment). The only time you would want to use VC++ is if you want to program in Microsoft's proprietory graphic's API, DirectX, because that's the only compiler that can do DirectX .
    I have DirectX headers and libraries set up for use with MinGW. Nobody said you had to use VC++. Its just really easy to do so.

    http://www.spacejack.org/games/mingw/mingw-dx.html
    http://nexe.gamedev.net/directknowle...Using%20DevCpp

    It really comes down to a trade off - either you get an easy to use interface in the form of VC++ or you get less hassle porting with Dev-C++ and similar IDEs.

  7. #7
    Registered User
    Join Date
    Apr 2006
    Posts
    11
    Thanks guys, so i'll keep my Dev-C++.

    But I'm getting this error:
    gl\glaux.h: No such file or directory.

    How do I map this out right?

    EDIT: Actually, I've found where it would go, but I don't have that file in my folder. Where can I download it? I've been searching google for hours.
    Last edited by Atolar; 04-19-2006 at 04:39 AM.

  8. #8
    Registered User
    Join Date
    Aug 2003
    Posts
    1,197
    You should do your best to avoid glaux, its not part of OpenGL standard, and generally not good.

    If I may take a quick guess you use it for trying to load textures in one of the tutorials over at nehe.gamedev.net right? Anyway, here is a replacement for glaux.

  9. #9
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    I reccomend "glut". See opengl.org! It's a library to make OpenGL coding simple and straightforward,
    Without worriing about GUI... It's really great
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 05:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 10:28 AM

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