Products for USB Sensing and Control
It is currently Wed May 22, 2013 2:47 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jan 23, 2011 10:30 pm 
Offline
Fresh meat

Joined: Sun Jan 23, 2011 10:26 pm
Posts: 2
XCode returns the warning


ld: warning: ignoring file /Library/Frameworks/Phidget21.framework/Phidget21, missing required architecture armv6 in file

And then returns 11 errors about missing functions because that file is ignored.

Any ideas? I have tried reinstalling the phidgets drivers and the sample code complies.


Top
 Profile Send private message  
 
PostPosted: Mon Jan 24, 2011 11:47 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2351
Location: Canada
Well of course that library doesn't have the armv6 architecture - that's the MacOS X library.

armv6 is the architecture used by iPhone/iPod Touch/iPad - is this what your are trying to develop for? If so, then you need to compile against the iPhone library, not the MacOS X library.

-Patrick


Top
 Profile Send private message  
 
PostPosted: Mon Jan 24, 2011 12:10 pm 
Offline
Fresh meat

Joined: Sun Jan 23, 2011 10:26 pm
Posts: 2
I did what you posted in the thread

here
and it complies and installs! but then it crashes and the GDB says:

Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
pthread_cond_init$UNIX2003 called from function CThread_create_event in image Rocket.
If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first.



Edit: nevermind I got it.

It was running CPhidgetInterfaceKit_create(&ifkit);
and it wanted CPhidgetInterfaceKit_create(ifkit);


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group