Hi,
I have an OGL program which uses SetupGL from apple to initialise graphics hardware. It compiled and ran fine using Codewarrior Pro 5, however when I upgraded to codewarrior 6 it stopped comiling, instead it now gives errors about draw sprockets header file.
Apple is abandoning DrawSprockets for MacOS X. They are supposed to release an updated version of the SetupGL code that is Carbon compatible but are dragging behind apparently.
You could try dragging the DrawSprocketsLib stub into your Carbon target anyway, perhaps Carbon still will support DrawSprocket for now. Otherwise, remove all the drawsprocket related code from the sample.