![]() |
|
|
(#1)
|
|
|
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 | |
|
|