Pages: [1] 2
Author Topic: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device  (Read 4495 times)
Gwydion
Berlin

Posts: 151

Gravatar


Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« on: March 09, 2011, 05:23:20 PM »

Hi folks,

So I'm getting a linker error when trying to build for iOS4.3:

Code:
ld: in /Users/user/Code/git/KonkreetLabs/of_preRelease_v0062_iphone_FAT/apps/iPhoneSpecificExamples/PerformerBeta/../../../libs/freetype/lib/iphone/freetype-iphone.a, file is universal but does not contain a(n) armv7 slice for architecture armv7

Previously when building for iOS 4.2 (with Xcode 3.2.5) for the iPad it was no problem. Similarly now in Xcode 3.2.6, I can build against iOS 4.3 for the simulator no problem (I guess cos the simulator uses the MacBook Pro's Intel architecture and not the iPad's ARM v7 architecture).

I'm using the downloaded OF 0.062 and it's the first time I've come across this error.

Anyone else seen this?
Logged
SiW

Posts: 144

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #1 on: March 09, 2011, 07:00:09 PM »

Can't you just uncheck "only build for active architecture"? I'm still pretty new to this ARM thing, so I dunno.
Logged
Gwydion
Berlin

Posts: 151

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #2 on: March 09, 2011, 07:50:45 PM »

Hi, no, it makes no difference. The iPad is ARM v7, so it's looking for something that should be there, but for some reason it only looks for this with iOS 4.3 and not 4.2...  :?
Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #3 on: March 10, 2011, 01:07:29 AM »

EDIT - OK I have arm6 & arm7 lib files for:

FreeType
FreeImage
Glu

Tested in Xcode 4 / SDK 4.3 = Working!
http://jasonwalters.squarespace.com/sto ... s/libs.zip

If the link expires I'll host elsewhere.
« Last Edit: March 10, 2011, 03:10:34 AM by Jason Walters » Logged
dongle

Posts: 2

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #4 on: March 10, 2011, 02:02:27 AM »

Thank you for helping us compile openframeworks in Xcode 4 with the iOS 4.3 SDK.

EDIT: heads up - the link is broken.
Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #5 on: March 10, 2011, 03:12:28 AM »

Not sure if you get notification that I edited so I'm posting a new reply - please try again, new link above.  File has been updated with other libs.  Tested and working for me now.
Logged
dongle

Posts: 2

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #6 on: March 10, 2011, 03:25:19 AM »

Thanks again for updating all the libs. Unfortunately, I'm still getting a page not found error when I click your link. If you email it to me, I'll mirror the file for you.

BTW, checked out your apps. Glitchbeam is fantastic.
Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #7 on: March 10, 2011, 04:14:43 AM »

Thanks!

Here's the weird part - the link doesn't work for me either but, if I hit refresh the download begins.  Must be a squarespace glitch... try it again and if it doesn't work I'll email it to you.
Logged
baldofaieta

Posts: 3

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #8 on: March 10, 2011, 08:39:33 AM »

The link does not work for me ... maybe it is because it is a zip
Logged
SiW

Posts: 144

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #9 on: March 10, 2011, 12:25:22 PM »

MYSTERIOUSLY DELETED
« Last Edit: March 10, 2011, 07:25:59 PM by SiW » Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #10 on: March 10, 2011, 02:04:27 PM »

Just copy and paste the link in your browser address bar and press enter.  Download should begin.  Tested in Safari and FireFox.  When you click the link - it breaks.  Not sure why... can't get to this for several hours, @ work.
Logged
Gwydion
Berlin

Posts: 151

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #11 on: March 10, 2011, 02:26:26 PM »

Quote from: "Jason Walters"
EDIT - OK I have arm6 & arm7 lib files for:

FreeType
FreeImage
Glu

Tested in Xcode 4 / SDK 4.3 = Working!
http://jasonwalters.squarespace.com/sto ... s/libs.zip

If the link expires I'll host elsewhere.
:) That fixed it - just needed the FreeType and FreeImage - didn't need Glu - thank you so much!

Any idea what was going on there, why iOS4.3 was complaining?

In the meantime, I also tested one of the OF0.062 demo iPad apps with 4.3 and it worked ok, so there was probably something not right with the build settings.

Would love to get to the root cause of this, even though it's working now!
Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #12 on: March 10, 2011, 02:42:39 PM »

Well our files only had slices for arm6 and it looks like arm7 is forced or required for 4.3.
Logged
SiW

Posts: 144

Gravatar


Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #13 on: March 10, 2011, 07:25:08 PM »

That worked fine, thanks for saving us some time Jason.
Logged
wbvdw
New York City

Posts: 64

Gravatar


WWW
Re: Freetype linking error w/ 0.062, Xcode 3.2.6, iOS4.3 Device
« Reply #14 on: March 11, 2011, 03:16:40 AM »

No problem!   :D
Logged
Pages: [1] 2
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines

viagra priser