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.

AppGameKit Classic Chat / I can't compile the newest iOS template with tier 2.

Author
Message
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 4th Dec 2013 15:59
Unable to determine concrete GCC compiler for file /Users/Halley/Desktop/AGK-1/IDE/apps/template_ios/Classes/template.cpp of type sourcecode.cpp.objcpp.

Above is the compile error, who can give me a hand? how to solve it? I guess I met a lot of compile problem, inlcude the above one.

The Miracrea Games
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 4th Dec 2013 16:07
"_OBJC_CLASS_$_SBJSON", referenced from:
objc-class-ref in libAGKiOS.a(SocialPlugins.o)
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in libAGKiOS.a(SocialPlugins.o)
"_OBJC_CLASS_$_Facebook", referenced from:
objc-class-ref in libAGKiOS.a(SocialPlugins.o)
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in libAGKiOS.a(SocialPlugins.o)

there are other errors here.

The Miracrea Games
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Dec 2013 16:15
What version of Xcode are you working with?

Select the 'Project' in the middle section and then go to the 'Build Settings' tab and scroll down to 'Build Options', first, and make sure that 'Compiler for C/C++/Objective-C' is 'Apple LLVM 5.0' (that is the one that works best with AppGameKit stuff). Then scroll down to the 'Apple LLVM 5.0 - Language' section and set 'Compile Sources As' to 'Objective-C++'. Then do the same with the 'Target' selected.

This uses the better compiler for iOS/Mac and forces it to treat all files as the same and correctly.

Next, did you read and follow the instructions in the Urgent_ReadMe_Now.txt file in IDE/platform/apple/Source/FacebookSDK?

That should fix the SocialPlugins.o error.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 4th Dec 2013 16:27
@Ancient Lady, Thank you very much. You've been helping me a lot.

The Miracrea Games
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Dec 2013 17:03
Always glad to. But, starting about next week, I just won't be around very much. Oh well. Life changes.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 5th Dec 2013 03:02
I think those three things should be put into a txt file named "ReadMe.txt", and put the file in the first folder of AppGameKit, then it is easy to see for everyone.

The Miracrea Games
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 5th Dec 2013 12:03
The first bits about settings in Xcode are something I discovered on my own. The AppGameKit coders probably set them in their projects and didn't think about it again and didn't think to set them in the templates.

And you are right about putting the one for the Facebook fix in a more obvious place.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-24 23:26:38
Your offset time is: 2024-11-24 23:26:38