Go Back   XCode Forum- The iPhone and Mac OS Xcode Developer Community > Iphone General Topics > General

Reply
 
LinkBack Thread Tools Display Modes

using static C library on Xcode
  #1 (permalink)  
Old 09-15-2008, 07:12 PM
shortempered@gmail.com shortempered@gmail.com is offline
Junior Member
 
Join Date: Sep 2008
Posts: 1
Unhappy using static C library on Xcode

Hi-All,

I am trying to use external C library (static, libyahoo2.a). while trying to build my project I am getting error " can't link with bundle (MH_BUNDLE) only dylibs "
I tried specifying search path and header path ....also tried some other ways but could not get rid of this error. I am not sure what should I do so that I can link this static library and use the functions.

(this library is in C , do I have to specify some extern or something ? ? )

Please help !

Thanks,
Vinit.
Reply With Quote

  #2 (permalink)  
Old 10-29-2008, 06:29 PM
jon jon is offline
Administrator
 
Join Date: Jun 2008
Location: Colorado
Posts: 19
Default

Are you including the appropriate header files that go along with the library?
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

Forum Jump



All times are GMT. The time now is 08:38 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0 Beta 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8



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