Re: Problems linking to dylibs in bundle
Re: Problems linking to dylibs in bundle
- Subject: Re: Problems linking to dylibs in bundle
- From: "E. Wing" <email@hidden>
- Date: Fri, 24 Feb 2006 17:40:47 -0800
On Feb 23, 2006, at 17:39 , Mark Lucas wrote:
Question 2, Once I have the dylibs at the correct location. I'm not
clear on the correct way to link to the bundle location. Do I have to
explicitly provide -l@executable_path/../Frameworks/osgPlanet.dylib ?
I've tried dragging into the link phase (from the copy phase (which
moves them), from the external libs (which links externally - not what
I want).
For linking dylibs, use -l to specify the library, use -L to specify
the path, e.g. -L../somedir/ -losgPlanet. You could also preinstall
the libraries somewhere like to /usr/local/lib to make life easier.
But I must ask, why are you doing all this extra work? I'm the primary
person who designed and setup the Xcode projects and binaries for
OpenSceneGraph. A huge amount of work already went into that to make
everything work nice and Mac friendly (including building actual
frameworks and allowing for bundling as you're describing). All the
frameworks are already drop-in ready. We even have Xcode project
templates for people starting new osg applications. You're reproducing
a lot of work already done (over several years).
-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