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?
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?
Meh. Dev-C++(Mingw(GCC) ) works fine with GL.
Woop?
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.
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 .
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.
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.Originally Posted by joeprogrammer
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.
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.
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.
STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.
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