• 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
Link problem with custom static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link problem with custom static library


  • Subject: Link problem with custom static library
  • From: Rustam Muginov <email@hidden>
  • Date: Wed, 30 Nov 2005 11:32:14 +0300

Hello all.
I am trying to link with custom static library (.a file) using xcode 1.5 under 10.3.9
The library does not have the "lib" prefix in its name, lets say it is called "MyLib.a"
Linker is not able to find it, reporting error "ld: can't locate file for: -lMyLib"
If i rename library to "libMyLib.a" in Finder, and re-add it to the project, then it is linked ok.
Could i make XCode not to require "lib" prefix to every library?
Thank you.


--
Sincerely,
	Rustam Muginov

_______________________________________________
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: Link problem with custom static library
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Debugging an AudioUnit in Xcode 2.0
  • Next by Date: Re: xcode 2.2 beachball of death
  • Previous by thread: C linkage in C++
  • Next by thread: Re: Link problem with custom static library
  • Index(es):
    • Date
    • Thread