"file is not of required architecture" error on most sample code builds on xcode 3
"file is not of required architecture" error on most sample code builds on xcode 3
- Subject: "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 10:00:40 +0000
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