• 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: Xcode - Other Linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode - Other Linker


  • Subject: Re: Xcode - Other Linker
  • From: Kent Glenn <email@hidden>
  • Date: Fri, 14 Nov 2003 08:07:13 -0700

That's what I was doing, and it appeared not to be working. I fired up the Console logs, and to my surprise, I was chasing ghosts. Here I thought it was this lib that was causing it not to start, but in fact it was the Zerolink framework that was missing on the computer I was testing it with.

I rebuilt the project for deployment, and the requirement for the Zerolink framework went away. It also appears that it doesn't link in the lib, unless I have the deployment style selected.

I appreciate the help. I fought with this for a couple of hours yesterday.

Thanks again,

Kent

On Nov 14, 2003, at 3:18 AM, Drew McCormack wrote:


On Nov 13, 2003, at 6:32 PM, Kent Glenn wrote:

Under PB I use to put my lib I wanted to statically link in under
"Linker Settings/Other Mach-O Linker Flags". I would have something
like this: /usr/local/lib/libsqlite.a

Now under Xcode, I can't figure out how to accomplish the same thing. I
did a "Info" on the target and found the build settings. I even found
"Other linker flags" under the build tab. I tried just putting the lib
to link in, but that didn't work. I thought maybe this needed to pass
flags off to ld, so I tried "-lsqlite" and "-llibsqlite.a", but neither
one worked. I even tried to put "-L/usr/local/lib/" for the lib path,
but that didn't help.

Any ideas? Am I going about this the wrong way?
Can't you just add the static library to you project? Just select 'Add Framework..." from the "Project" menu, and select the libsqlite.a. The rest should be handled by Xcode.

Drew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Xcode - Other Linker (From: Kent Glenn <email@hidden>)

  • Prev by Date: Re: "Warp" effect?
  • Next by Date: Re: Creating an NSURL
  • Previous by thread: Xcode - Other Linker
  • Next by thread: Creating an NSURL
  • Index(es):
    • Date
    • Thread