• 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
[Q] How to link a library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] How to link a library?


  • Subject: [Q] How to link a library?
  • From: JongAm Park <email@hidden>
  • Date: Thu, 31 Aug 2006 21:08:18 -0700

Hello.

I keep forgetting how to link a library using the Xcode.
Although I looked up the Xcode guide, I couldn't figure out how to.

For example, I drag & drop the libiconv.dylib under MacOS X 10.4u SDK to
the project and the Xcode displays it.
However, when it executes iconv_open(), it crashes. It can't find the
iconv_open() function.
it means that the library is not linked.

Can someone tell me how to link the library? The project type is plain
C++ tool.

I can't find any linker option under Build=>Lining setting for adding
additional libraries.

thank you.

 _______________________________________________
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

  • Prev by Date: Re: Symbol export issue
  • Next by Date: [Q] same library in different places?
  • Previous by thread: Re: Symbol export issue
  • Next by thread: [Q] same library in different places?
  • Index(es):
    • Date
    • Thread