XCode compilation error on PB samples

Haggis McHaggis
Unregistered
 
Post: #1
Hey!

I've finally upgraded to Panther (and XCode) and have found that when using GLUT (all I really understand) when I re-compile old stuff that works, like GLUTBasics from the Apple samples I get an error.

I can't remember it exactly but its something about an invalid option for -gcc compiler in the .o file? I don't even know what the .o file is for Huh

Any help much appreciated.

Ta
Quote this message in a reply
Moderator
Posts: 608
Joined: 2002.04
Post: #2
Have you tried cleaning and then rebuilding?
Quote this message in a reply
Haggis McHaggis
Unregistered
 
Post: #3
Hmmmmyeah.

If I go into GLUTBasics, build and Run its fine.

If I clean or edit it it'll bring up this error. The work I have done in GLUT, in C, in Project Builder don't do nothing no more Wacko

Thanks, but any other help?
Quote this message in a reply
Moderator
Posts: 608
Joined: 2002.04
Post: #4
I imagine if you posted the actual error it gives, you will get more responses. Right now we have very little to go on.
Quote this message in a reply
Haggis McHaggis
Unregistered
 
Post: #5
Behold, the error:

unrecognized option '-no-gcc-precomp' GLUT Basic:0

So there it is, its from the sample GLUT Basics from the apple site, if I edit it at all it gives me this, it didn't in Project Builder.

Help!
Quote this message in a reply
Post Reply