• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Linking a lib in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Linking a lib in XCode


  • Subject: re: Linking a lib in XCode
  • From: George Warner <email@hidden>
  • Date: Wed, 12 Mar 2008 18:31:54 -0700
  • Thread-topic: Linking a lib in XCode

On Wed, 12 Mar 2008 19:52:40 +0000, Haskins Mark <email@hidden>
wrote:
> I'm struggling to do something which should be very simple and I've
> probably missed something somewhere along the way.
>
> I'm writing an application that uses XML, and I am attempting to add
> the libxml2.2.dylib library to the project as I believe that this will
> resolve my
>
> error: libxml/xmlmemory.h: No such file or directory
>
> error.

Cut and paste these into your project or target settings (for all
configurations):

HEADER_SEARCH_PATHS = /usr/include/libxml2/libxml/**
OTHER_LDFLAGS = -lxml

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)



 _______________________________________________
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

  • Follow-Ups:
    • Re: Linking a lib in XCode
      • From: Terry Simons <email@hidden>
  • Prev by Date: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Next by Date: svn error
  • Previous by thread: Re: Linking a lib in XCode
  • Next by thread: Re: Linking a lib in XCode
  • Index(es):
    • Date
    • Thread