Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / T2 Compile errors

Author
Message
ManOfActionTM
11
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 11th Jan 2012 04:11
First time XCode user, so this may be simple.

I have copied my cpp and h files over to my xcode project. I included them into the project. What would be the next step? I'm guessing at the moment, and failing.

Currently, the most common error is that xcode doesn't recognize the type name 'class'

I can't believe that changing it to an upper case 'Class' will fix the issue as Globals.h is also reporting this error, which is not my code.

Ideas?
ManOfActionTM
11
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 11th Jan 2012 19:52
nevermind, I solved it..not sure how or why. I added each class in, one at a time, and changed them from .cpp to .mm.

If I did it faster than that, the build didn't work. Why? No ideas. But it's working now.

Login to post a reply

Server time is: 2022-05-27 17:01:34
Your offset time is: 2022-05-27 17:01:34