Go Back   XCode Forum- The iPhone and Mac OS Xcode Developer Community > Mac OS > Core Foundation

Reply
 
LinkBack Thread Tools Display Modes

import of unix programs into xcode framework.corefoundation
  #1 (permalink)  
Old 10-08-2009, 09:03 PM
Striz Striz is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Default import of unix programs into xcode framework.corefoundation

Hi all,


i have a big problem in importing unix software into xcode. everything is working but if i want to use the USB port i am getting in trouble with compiling. here are the message from xcode. i read a lot of flags for using frameworks.corefoundations but i don't know how. i am brand new in the xcode world...

does anybody know where's the problem?

thnx

cd /Users/Striz/xcode/drs_exam
/Developer/usr/bin/g++-4.0 -o /Users/Striz/xcode/drs_exam/build/Debug/drs_exam -L/Users/Striz/xcode/drs_exam/build/Debug -F/Users/Striz/xcode/drs_exam/build/Debug -filelist /Users/Striz/xcode/drs_exam/build/drs_exam.build/Debug/drs_exam.build/Objects-normal/i386/drs_exam.LinkFileList -arch i386 -mmacosx-version-min=10.5 -isysroot /Library/Caches/com.apple.Xcode.501/CompositeSDKs/MacOSX10.5-fokvglumljxmfpdptxkuikavbuwx
Undefined symbols:
"_CFUUIDGetUUIDBytes", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_kIOMasterPortDefault", referenced from:
_kIOMasterPortDefault$non_lazy_ptr in musbstd.o
"_CFUUIDGetConstantUUIDWithBytes", referenced from:
_darwin_configure_device in musbstd.o
_darwin_configure_device in musbstd.o
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
_musb_open in musbstd.o
_musb_open in musbstd.o
"_IORegistryCreateIterator", referenced from:
_musb_open in musbstd.o
"_IOCreatePlugInInterfaceForService", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_IOIteratorNext", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_IOObjectRelease", referenced from:
_musb_open in musbstd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
"_CFUUIDGetUUIDBytes", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_kIOMasterPortDefault", referenced from:
_kIOMasterPortDefault$non_lazy_ptr in musbstd.o
"_CFUUIDGetConstantUUIDWithBytes", referenced from:
_darwin_configure_device in musbstd.o
_darwin_configure_device in musbstd.o
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
_musb_open in musbstd.o
_musb_open in musbstd.o
"_IORegistryCreateIterator", referenced from:
_musb_open in musbstd.o
"_IOCreatePlugInInterfaceForService", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_IOIteratorNext", referenced from:
_darwin_configure_device in musbstd.o
_musb_open in musbstd.o
"_IOObjectRelease", referenced from:
_musb_open in musbstd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Reply With Quote

  #2 (permalink)  
Old 10-09-2009, 12:44 PM
Striz Striz is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Default

Sorry, this Problem is solved. i found that i need to add in the Project the framwork IO and corefoundations. now the compiler run through without failures.

But i think i don't have access to the USB port. when i look to the App USB PRobe my device is connected but the program can not initialize it. If i run this under linux it is working perfect but not under OSX. what is different to the architecture which i need to include into the code?
(i use latest xcode, gcc 4.0, osx 10.6.1)

if somebody know how to connect special USB devices, i can also send the source code.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 06:41 AM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27