Codewarrior 4 has a problem at the first line saying a ; is expected. I dont think this is normally supposed to happen, so is there a fix or something i need to do different out there?
Perhaps this is a stupid question, but are you including windows.h before you include glu.h. If not, then this is most likely the source of your problem. Without including windows.h, the compiler won’t know what APIENTRY is when it sees it in glu.h and will generate an error. Hope this helps.
if this is a Windows project (I can’t help if it’s Linux or Mac), do you have _UNICODE defined somewhere? I believe you’ll need to make sure it’s defined before windows.h is included…
but don’t quote me, I’m stuck back in the 60’s with ASCII
If you’re in windows using VC, then the easiest thing would be to go to Project/Settings/CC++/General/Preprocessor definitions and put the definition in there.