PDA

View Full Version : carbon_glut.lib



11-21-2001, 06:31 AM
Help! I can't figure out why I get these error messages in CodeWarrior 6 under OS X that look like this:

Link error: undefined 'RemoveEventLoopTimer' (code)
referenced from 'glutMainLoop' in carbon_glut.lib

With OS 9 targets, everything compiles, links, and executes just fine. With OS X targets, I can't get anything to link properly (not even the sample code that's included in the GLUT directory of OpenGL SDK 1.2). Can anyone tell me what I'm doing wrong?

tigakub
11-22-2001, 06:12 AM
RemoveEventLoopTimer is a function in the new Carbon Event Model and a glut function, check to see if you've included the necessary carbon libraries in your X target.

11-24-2001, 06:10 PM
I got the same error after having reinstalled CW 6. The reason it pops up is because CW 6 ships with CarbonLib 1.0.1 or something, whereas the Carbon Event Model wasn't implemented until CarbonLib 1.1. If you download the more recent Universal Headers from Apple and replaces the headers and stubs in CW's "Mac Support", everything should be fine.

-Thomas Jahnsen
cerebroid@excite.com.au

cerebroid
11-24-2001, 06:15 PM
I got the same error after having reinstalled CW 6. The reason it pops up is because CW 6 ships with CarbonLib 1.0.1 or something, whereas the Carbon Event Model wasn't implemented until CarbonLib 1.1. If you download the more recent Universal Headers from Apple and replaces the headers and stubs in CW's "Mac Support", everything should be fine.

-Thomas Jahnsen
cerebroid@excite.com.au

11-25-2001, 03:10 PM
Thomas,

Thank you! Replacing the appropriate files for Carbon in CW6 "MacOS Support" worked like a charm.