View Full Version : Which c++ compiler is the best for openGL
12-25-2002, 02:14 PM
hi.. just like the topic says.. i would like to know some proffessional or any good tips of wich c++ compiler is the best...
Right now I have dev-c++ and microsoft visual c++ ... I want to learn c++ but in which envoirement. ? Is there any better compilers?? the price doesn't matter.. http://www.opengl.org/discussion_boards/ubb/smile.gif
and wich one of the msvc++ and dev-c++ is best..
hope you can answer this simple questions.. and hopefully you'll add some of your own comments.. http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif
12-25-2002, 08:19 PM
Well i have used VC++ 6.0 for most of my programming. I recently got Visual Studio .NET Pro free from my college. So i'm gonna use that. If you are just starting out use 6.0 instead of .net. It's probably simpler. You have to turn of a few things in .NET to get some things working right and i've heard of people having trouble. Borland's compiler is pretty good too from what i hear. It really doesn't matter which one you use. VS .Net probably is only troublesome to those few people because they didn't install it right or some other mistake made by them. It works fine for me. You won't lose any efficiency and the code is still the same no matter what compiler you use. Also a lot of tutorial sites use VC++ 6.0 so you might have an advantage there if you used it too. Well good luck! Oh and i think the intro version (fully featured but with a stupid message that pops up before ure program starts...is about $99.)
Merry Christmas and have a good New Years
12-26-2002, 12:24 AM
Almost any C/C++ compiler will do the job for you (VC6 VC.NET MingW32/gcc LCC Borland and so on), the nice thing with Visual Studio (6 or 7) is that the debugger is one of the best you can find, I do prefer VC6 before VC7, VC7 is i little more messy to use IMHO.
12-26-2002, 06:08 AM
cool.. I go for visual c++ 6.0 then .. http://www.opengl.org/discussion_boards/ubb/smile.gif)
12-26-2002, 03:07 PM
you might also want to take a look at intel's c++ compiler (http://www.intel.com/software/products/compilers/cwin/) .
i don't use it, but i've heard that it destroys the microsoft compiler performance-wise. in particular, it has built in support for SSE instructions (which microsoft's next compiler is also supposed to include).
i've also heard that you can use it from within development IDEs (such as visual studio and Dev-C++) without too much trouble also. anyway, it's certainly worth looking at.
12-27-2002, 09:04 PM
Screw Visual. Dev-C++ is the only thing you need. Still waiting for 5.0 release, though.
forget vc, forget microsoft!!!... devcpp is only solution http://www.opengl.org/discussion_boards/ubb/wink.gif (ok, it's not visual but i thing gcc is a much better compiler than vc. and why you need a visual environment for opengl? http://www.opengl.org/discussion_boards/ubb/smile.gif)
12-28-2002, 11:50 AM
Don't I need a visual envoirement for openGL programming.. hmm.. because I want to do a Level editor, so how am I going to do the menus and everything else if I don't use visual envoirement??
and what about DJGPP ?? is it better than dev-c++ ??
btw. What kind of application do I need to creata a whole 3D-engine programming.. like an editor etc.??
thx for all the help so far.. http://www.opengl.org/discussion_boards/ubb/smile.gif
12-28-2002, 07:55 PM
You'd be better off typing out your menus and crap through your text editor instead of using a RAD to do this. Machine generated code is icky to edit.
Come to think of it, I believe the latest GCC is even better than Intel's compiler. Least that was the case with GCC 3.2.
Originally posted by Deniz:
and what about DJGPP ?? is it better than dev-c++ ??
djgpp is running under dos, so it almost imposible to do some harware-acceletrated opengl coding (there's some kind of win32 extension but devcpp is surely better for this purpose)
and level editor... ok using rad you may speed up your develompent a bit. and it will increase file size at least 2 times. and performace will probably fall down too (i still think you should give up that level editor and write some convertor for 3ds files or such http://www.opengl.org/discussion_boards/ubb/wink.gif)
and performace is most important (especialy in game). and gcc is fastest (i think http://www.opengl.org/discussion_boards/ubb/biggrin.gif)
12-29-2002, 05:11 PM
ok..thanks.. but now I wonder what is
"convertor for 3ds files" ?
I am a begginer so I reallt don't know very much.. and could you explain this RAD thing little better thnaks.. http://www.opengl.org/discussion_boards/ubb/smile.gif
and if you want
also comment what you think of 3D programming, like is it hard to learn etc. http://www.opengl.org/discussion_boards/ubb/tongue.gif
12-29-2002, 09:01 PM
RAD is a, uh, oh what the hell is it...the reason why Visual Basic is a toy and not a language...yeah.
Originally posted by Deniz:
"convertor for 3ds files" ?
3ds file is a lovely file format for 3d models. so you draw everything in 3d studio and then launch you simple(??) program and covert everything in the format you like.... http://www.opengl.org/discussion_boards/ubb/smile.gif (well, 3ds isn't best idea for more complicated levels... http://www.opengl.org/discussion_boards/ubb/frown.gif)
12-30-2002, 11:48 AM
I'm using VC++ 6.0. I don't want to lie to you bu i choosed this one because I just got it first and I haven't changed my compiler yet. I'll say more - i didn't even try other compilers for OpenGL. If you just want to choose the fastest compiler remember about one thing - performance of yors program depend on your skills and compiler is less important. I use VC 6.0 and I get my 85 fps.
12-30-2002, 12:55 PM
OK.. so far I want to say thanks to all that helped me.
And I think I made up my mind... I'll go for either dev-c++ or visual c++ 6.0 http://www.opengl.org/discussion_boards/ubb/smile.gif, I don't think that matters a lot.. but I noticed one advantage with ms v c++ and that is the amount of tutorials written is specialized for ms visual c++.. however, I wonder if you think that it is a good idea to do a 3D-engine or something about 3D graphics with openGL and c++ for my project in school? http://www.opengl.org/discussion_boards/ubb/smile.gif
I would be pleased if you would give me some idea of what I can do using c++ and openGL.. it should be related to "3D-graphics" http://www.opengl.org/discussion_boards/ubb/smile.gif
Thanks a lot! http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif
12-31-2002, 01:50 AM
You can do everything - just whatever you like but only if you really want to finish your work (ow, i know it hurts sometimes http://www.opengl.org/discussion_boards/ubb/wink.gif ). Something for school project? Meaby 3d solar system, 3d model of your school, some 3d mathematic functions?
12-31-2002, 12:42 PM
You can use any compiler you want. Visual c++ is nice - but don't get fooled by the "visual" part - it isn't like VB. The built-in gui stuff with VC++ uses MFC - which is a large framework and has a learning curve(and it may be on the way out http://www.opengl.org/discussion_boards/ubb/wink.gif)
Anyway - my personal favorites are gcc and emacs. They are free, powerful, and extremely well documented. And they work in Linux!
01-01-2003, 01:17 PM
I personally use DevC++ and hence gcc compiler. gcc imho is the best all round compiler there is.
01-01-2003, 07:34 PM
What I don't understand is why some people would rather pay for something like Visual C++ 6.0, or Visual C++ Not Yet, when they could get something just as good, if not better--and the right to modify it any way they desire--for no cost.
Perhaps it's because more people are familiar with the proprietary crap, and therefore don't understand that free software does exist that does the same thing. Oh well...
...let's face it. Software is like sex. It's better when it's free.
01-02-2003, 06:20 AM
And I don't understand why fanatics like rpxmaster feel the need to trash anyone who thinks differently from them. If you don't like VC++ fine, don't use it. But there's no need to constantly try and trash the people who do use it.
I for one love it and feel it's one of the best IDEs available. I also have programmed in Linux with makefiles and the GNU tools, so I do know what I'm doing when it comes to compiling stuff like that.
And your comment about RAD (Rapid Application Development) tools... VB isn't a "toy" because it's primarily a RAD. It has many weaknesses that have nothing to do with the interface.
- You can't easily do multi-threading
- It tries to be object-oriented, without quite actually being object-oriented (it lacks inheritance)
- memory management is weak
- unless you set option explicit on you do not have to pre-declare variables, which leads to sloppy programming and sometimes hard to detect bugs
If RAD was so bad, Borland would be thought of the same way as VB. I've often heard Borland users claim it's better than VC++ simply because it's "like VB, only with C++."
I don't hear you here trashing Borland. I think your main problem is that you are just anti-MS, so you find every opportunity to trash them that you can.
Can't we all just get along... http://www.opengl.org/discussion_boards/ubb/smile.gif
Edit: Thought I should note that my comments about VB are all based on VB6. They changed VB.Net to be object-oriented and to make threading easier. But then VB.Net and VB6 are really separate languages.
[This message has been edited by Deiussum (edited 01-02-2003).]
01-02-2003, 06:26 AM
I agree with the above. I think you can generally seperate those who answer into two groups --> those who have a job programming for a living and those who don't. Those who do are interested in RAD because it makes them more productive - VB is a widely and *successfully* used system in business; where RAD is very important to reduce costs, especially for small and medium sized businesses. You would do well to learn it http://www.opengl.org/discussion_boards/ubb/smile.gif
Moreover, in terms of IDEs, MS VC++ 7.0 is excellent; probably one of the best out there. We are all using it at work and are very happy with it.
01-03-2003, 12:04 AM
I use to build my programs on C++Builder, and i think beginners in C++ like me, should better use an IDE program, because you can't learn everything for your first progs( if you can for the next ones, bravo!). OpenGL is so nice to program because you can see a enhancing visual result of your work (more than menus or windows), and RAD can avoid to spend time in accessories, saving it for OpenGL.
Wich of Borland, Microsoft or other IDE environment, should be used... The one know the best, if you don't... choose the one that accept the more tutorials you will find!
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.