944,191 Members | Top Members by Rank

Ad:
Dec 5th, 2006
0

A quick question

Expand Post »
Hello again. After my past few weeks getting annoyed with compiling issues, I seem to have started getting somewhere.(Visual C++)
I have a quick question. Since visiting numerous sites and experimenting with various sample and source codes I am finding one thing. One block of code from a certain site will work, one from another won't. Does this mean that OpenGL code needs to be radically modified depending on the compiler being used. Is it maybe worth my while installing linux instead of the unstable MSwindowsXP. Can anyone suggest a competent compiler?
Thanx Jason
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jd_1604 is offline Offline
22 posts
since Dec 2006
Dec 5th, 2006
0

Re: A quick question

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)
Last edited by jbennet; Dec 5th, 2006 at 7:06 pm.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Dec 5th, 2006
0

Re: A quick question

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.
Super Moderator
Featured Poster
Reputation Points: 3241
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,873 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Game Development Forum Timeline: vb6 mmorpg batte system helo
Next Thread in Game Development Forum Timeline: Game Engine Code [Help]





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC