> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Robert Osfield
> Sent: Thursday, November 29, 2007 2:05 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] DynamicLibrary::failed loading
> 
> On Nov 29, 2007 6:12 PM, Mike Weiblen 
> <[EMAIL PROTECTED]> wrote:
> > Sorry, I didn't answer your actual question.
> >
> > We don't need a path to the plugin dir, that works fine.
> >
> > We need paths for the plugins to find their dependencies.  Without 
> > that, the message returned is that the plugin load failed, 
> when it was 
> > actually the plugin dependency load that failed.
> 
> Would it be possible for the OSG to add these paths in at runtime?
> Given it knows where the plugins are could it insert that 
> path into windows path?
> 
> Robert.

Hmm-maybe.  Knowing where the plugins are isn't the problem; the issues
is knowing where the redist dependencies are.

Realize such code would be codifying a policy of where OSG private
assembly must be located.  

I defined the policy used in my win32 binary installer.  Other folks
building their own win32 binaries may decide other redist policies (eg
perhaps they're fine w/ running the public assembly installer as
administrator, etc)  So there are several ways to solve the problem,
each with their own tradeoffs; not sure OSG itself should force one over
the others.

-- mew
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to