Re: argh...linking problems with AppleShare client lib
Re: argh...linking problems with AppleShare client lib
- Subject: Re: argh...linking problems with AppleShare client lib
- From: "David A. Feldman" <email@hidden>
- Date: Wed, 11 Sep 2002 13:29:19 -0400
Well, now I feel silly. Thanks.
As long as I have your attention, another framework-linking question:
Is it possible to link a framework conditionally somehow? I have an app
that I'd like to run as a normal Cocoa app, but also as a Foundation
tool that will run without a GUI (i.e. logged in via ssh, run via cron,
run when the Aqua GUI isn't running at all...). At the moment I have
two separate executables but some things would definitely be easier
with one. Any way to do this?
Thanks again,
--Dave
On Wednesday, September 11, 2002, at 01:23 PM, bill fancher wrote:
On Wednesday, September 11, 2002, at 10:02 AM, David A. Feldman wrote:
I didn't, and wondered if it was something like that, but I can't
figure out how to do it. I found the place in the Targets pane that
right now just has Foundation.framework, but it didn't have any way
to add things that I could see.
It's in the Project menu: Add Framework.
HTH,
--
bill
Thanks,
--Dave
On Wednesday, September 11, 2002, at 01:00 PM, bill fancher wrote:
On Wednesday, September 11, 2002, at 08:38 AM, David A. Feldman
wrote:
I'm using functions from the AFP Client Library in my Cocoa app,
and can't get it to compile. I've included
<AppleShareClient/afpClient.h> and most of the compile succeeds,
but then I get the link error:
ld: Undefined symbols:
_AFPCreateSharedVolumesEnumerator
_AFPDeleteSharedVolumesEnumerator
_AFPMountSharedVolumeOnMP
What am I missing? Thanks.
Did you add the AppleShareClient framework to your project?
--
bill
_______________________________________________
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.