Attention: iDevGames forum has a new home at http://www.idevgames.com/forums.
Please update your bookmarks and linkage.
This forum has been locked and will be available for archival purposes only.
iDevGames - Mac, iPhone, iPad & iPod Game Developers Forum  


Graphics & Audio Programming All aspects of coding 2D/3D graphics.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
  (#1)
Catalyst
 
Posts: n/a
Open GL and C++ - 2003.04.20, 10:04 PM

I wish to begin programming using C++ and Open GL under OS X, however I have had serious problems finding a guide to get started.

I have looked at the Open GL section of Apple's carbon programming guide, however, strangly enough, it switches into Cocoa/Obj-C when it gives its tutorial, rendering the whole thing useless. I have also read NeHe's guide, however its OS X guide is for Cocoa, and I cannot coax its OS 9 form into compiling(It gives me errors for attempting to link to Obj-C libraries).

I understand that Cocoa is an API for Obj-C and Java only, however I have also found mentions of "mixed" source, combining C++ and Obj-C. Is it possible to effectivly write C++ code without any Obj-C code, and thus use the Cocoa API? I did not think this was possibil, hence I attempted to find a guide to Carbon/Open GL programming, however I have been unable to discover anything.

I should note that switching to Obj-C is not really a solution, as I want the majority of my code to be portable, and because I do not have the time to learn a new language at the moment.
   
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
DevServe Network: iDevApps | uDevGames | iDevGames