Anybody using Codewarrior 8 and OpenGL

konan

Registered
I am using Codewarrior 8 for Windows/Mac and I would like to use OpenGL for Carbon. I downloaded an SDK from Apple, but I suspect that it is not compatible with CW8 because it did not link properly (or I did something wrong).

Can anyone let me know exacult which SDK I should use for OpenGL, Carbon, CW8? Any sample projects out there ready to compile?

Konan
 
I've written some Carbon/OpenGL apps using PowerPlant.

Apple's OpenGL SDK is all you need. Make sure to add the OpenGL libraries to the CW8 Libraries folder.

I have implement a View object (for PowerPlant) to provide OpenGL rendering/selection in Carbon apps. Let me know if you want further details.

Even if you're not using PowerPlant, my code should provide some useful info.

HTH,
MidTown
 
It turned out that there is a minor bug in CW 8 Win/Mac (In Windows, compiling for Macintosh) that prevents proper linking to the OpenGL libraries.

However, it is easily fixed be word "Stub" from the stub files. For example

OpenGLLibraryStub

becomes

OpenGLLibrary

Konan
 
Back
Top