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 / Linker error: symbol(s) not found for architecture i386

Author
Message
Alpha Mike
12
Years of Service
User Offline
Joined: 22nd Aug 2010
Location: Bristol, UK
Posted: 13th Jan 2013 19:53
Hey for so a laugh I thought I'd give building my project on a Mac. So I first tried to get the Box2D example running first before I gave myself headaches.

I've never owned a Mac before so this all a valuable exercise into XCode. From what I can make out there are no libs available for 64bit Mac so I switched the project to be a 32 bit one. All seems to be going well and from what I can make out I am getting to the linker stage but I am getting these errors:

Undefined symbols for architecture i386:
".objc_class_name_CIImage", referenced from:
pointer-to-literal-objc-class-name in libAGKMac.a(MacCore.o)
"_CVBufferRelease", referenced from:
-[ButtonListener captureImage] in libAGKMac.a(MacCore.o)
"_CVBufferRetain", referenced from:
-[ButtonListener captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection in libAGKMac.a(MacCore.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Anyone have any clue as to what to do next?

Cheers
Ancient Lady
Valued Member
18
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 14th Jan 2013 16:04
What version of AppGameKit are you using? (Most important first question)

The sample projects have not been updated for a very long time (pre-v1076) so don't quite work correctly.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Alpha Mike
12
Years of Service
User Offline
Joined: 22nd Aug 2010
Location: Bristol, UK
Posted: 26th Jan 2013 00:19
ah! ok.

I am using the latest beta 1088?

that might be why, I will just give building a small app of my own then
Ancient Lady
Valued Member
18
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 26th Jan 2013 04:39
If you are using v1088, then you can download the iOS/Mac templates from the AGK Wiki Template page.

There are also instructions there to make sure that your Mac setup is correct (specifically fixing the Facebook Framework problem, under the "Facebook (v1085+)" section).

You should be able to build your own apps starting from those templates.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2022-09-29 12:58:36
Your offset time is: 2022-09-29 12:58:36