Re: "file is not of required architecture" error on most sample code builds on xcode 3
Re: "file is not of required architecture" error on most sample code builds on xcode 3
- Subject: Re: "file is not of required architecture" error on most sample code builds on xcode 3
- From: Ian Grant <email@hidden>
- Date: Sat, 10 Nov 2007 18:47:41 +0000
I removed the self installed libTIFF and related files in /usr/local/
lib/ - and builds started to behave again when using the 10.4
(universal) settings.
Sorry if that was obvious. I've noticed a couple of other instances of
the problem appearing on google. And thought I'd post how I fixed it
here.
Cheers, Ian
*******************************
Ian Grant
Senior Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<email@hidden>
*******************************
On 10 Nov 2007, at 10:00, Ian Grant wrote:
Hi I am getting an error on most (all) sample code I build at
present on leopard.
Here's an example error message:
/Users/iboy/Downloads/VideoHardwareInfo/build/
VideoHardwareInfo.build/Development/VideoHardwareInfo.build/Objects-
normal/ppc/VideoHardwareInfo.LinkFileList -framework Cocoa -
framework IOKit -framework OpenGL -arch ppc -prebind -mmacosx-
version-min=10.3 -bind_at_load -isysroot /Developer/SDKs/
MacOSX10.4u.sdk
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib,
file is not of required architecture
collect2: ld returned 1 exit status
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib,
file is not of required architecture
collect2: ld returned 1 exit status
Most settings default to targetting Mac OS 10.4 (Universal)
Using: $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
ppc i386
I am quite suspicious of that libTIFF.dylib.
As soon as I change the project setting to target the current
platform or Mac OS 10.5 - the projects build.
Is there something else I am missing, or is that libTIFF of the
wrong architecture?
Thanks, Ian
*******************************
Ian Grant
Senior Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<email@hidden>
*******************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden