• 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: Linker can't locate file for library.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker can't locate file for library.


  • Subject: Re: Linker can't locate file for library.
  • From: Eric Albert <email@hidden>
  • Date: Fri, 9 Mar 2007 11:36:00 -0800

You used '-lvp7plugin_macUniv' instead of '-lvp7plugin_macUniv.a'?

-Eric

On Mar 9, 2007, at 10:32 AM, Brant Sears wrote:

Yes, I had already tried that and it didn't work.

On Mar 9, 2007, at 1:26 PM, Eric Albert wrote:

On Mar 9, 2007, at 10:17 AM, Brant Sears wrote:

Hi. I recently received a library from a third party that I want to use in my application. This file appears to be a universal binary .a archive. It doesn't begin with "lib" - I'm not sure if this matters. The name of the file is vp7plugin_macUniv.a

I placed the file into a folder where other .a libraries that my application uses are located. Then, I added the library file to my application. When I try to build with it, I get a link error that says:

can't locate file for: -lvp7plugin_macUniv.a

Try renaming the library to 'libvp7plugin_macUniv.a' and then using '-lvp7plugin_macUniv' (or just dragging and dropping the file into your project).


Hope this helps,
Eric

_______________________________________________ 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
References: 
 >Linker can't locate file for library. (From: Brant Sears <email@hidden>)
 >Re: Linker can't locate file for library. (From: Eric Albert <email@hidden>)
 >Re: Linker can't locate file for library. (From: Brant Sears <email@hidden>)

  • Prev by Date: Re: Copy Bundle Resources build phase questions
  • Next by Date: Does exists something as CURRENT_EXECUTABLE_PATH ?
  • Previous by thread: Re: Linker can't locate file for library.
  • Next by thread: Does exists something as CURRENT_EXECUTABLE_PATH ?
  • Index(es):
    • Date
    • Thread