Re: Linking to dylib
Re: Linking to dylib
- Subject: Re: Linking to dylib
- From: Mark Woollard <email@hidden>
- Date: Mon, 9 Sep 2002 18:44:59 +0100
The Libraries search path does include the relevant directory...
Regards
Mark
On Monday, September 9, 2002, at 06:10 pm, John Haager wrote:
I would guess its probably because the linker doesn't know where to
find the dylib. If you go into the Target Settings, there is a Search
Paths option which allows you to specify other directories the linker
should look in for Libraries, Headers, Frameworks, etc. Add the
directory where your dylib is located to the Libraries Search Path,
and try it. That should get rid of any errors about not finding the
library.
The Libraries Search Path is equivalent to the -L flag to the linker.
John
On Monday, September 9, 2002, at 08:02 AM, Mark Woollard wrote:
Thanks, found the log info! Knew it must be accessible somehow:-)
Will look at frameworks but still would like to know why my project
fails to link since I like to understand what's going on.
Mark
On Monday, September 9, 2002, at 03:27 pm, Ondra Cada wrote:
On Monday, September 9, 2002, at 03:51 , Mark Woollard wrote:
I wonder if I should be building a framework rather than a dylib.
If you can, do. Frameworks are more convenient than plain dylibs.
Also, how do you get the output of the link stage into the PB build
panel?
All I get is 'Build failed, see build log for details' but I've
been unable to figure out how to access this build log. I have to
build using pbxbuild to see what's really going on.
There's a splitview in the Build pane; complete log should be below
the divider. Also, you might want to set Preferences/Building/Build
log detail level to a more detailed one.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
_______________________________________________
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.
-> John Haager <-
_______________________________________________
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.
_______________________________________________
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.