generally most compilers will be compatible with eachother
The problem is with microsoft visual C++ as it uses slightly nonstandard syntax and libaries so needs a bit of tweaking
Personally, my fave windows compiler/ide is Bloodshed Dev C++ (free with lots of tutorials and the most recent version comes with an opengl example)
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
I dont think the OpenGL code depends on the compiler but on OS --- yes.
If you need to run the same code on different OS's you can head over to NeHe where he has provided code snippets for different OS's and different compiler (OpenWatcom etc. )
IMHO, you are better off writing code which is portable which won't be difficult since OpenGL itself if platform independent.
If any more doubts repost.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 733