Re: [osg-users] OSG deployment on Windows

2014-09-25 Thread Judson Weissert
Hi Émeric On 9/24/2014 1:03 PM, Émeric MASCHINO wrote: Hi, What's the best practice regarding OSG deployment on Windows? Indeed, several plug-ins depend on external libraries. Is it best to put the required DLLs in OSG_ROOT\bin\osgPlugins-X.Y.Z or rather in OSG_ROOT\bin, thus ensuring that OS

Re: [osg-users] OSG deployment on Windows

2014-09-25 Thread Émeric MASCHINO
OK, this is now clear with what Farshid also explained me in the other post. Thanks, Émeric 2014-09-24 22:29 GMT+02:00 Chris Hanson : > I just move the osgPlugins folder into the folder where the executable and > top-level OSG DLLs are found. All seems to work without any fuss. > > On Wed,

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Chris Hanson
I just move the osgPlugins folder into the folder where the executable and top-level OSG DLLs are found. All seems to work without any fuss. On Wed, Sep 24, 2014 at 1:04 PM, Émeric MASCHINO wrote: > Hi Chris, > > Are you then also putting the required plug-ins in the same folder and > no more in

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Émeric MASCHINO
OK, thanks for the clarification Farshid. Yes, I was using exactly the same structure. But I didn't knew that the OSG plug-ins were first looking for their dependencies is OSG_ROOT\bin before relying upon the PATH. I thought that, when not found in the OSG_ROOT\bin\osgPlugins-X.Y.Z folder, the req

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Émeric MASCHINO
Hi Chris, Are you then also putting the required plug-ins in the same folder and no more in a separate osgPlugins-X.Y.Z folder? Cheers, Émeric 2014-09-24 19:59 GMT+02:00 Chris Hanson : > I deploy my applications with their own local copy of OSG in the same folder > as the main application

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Farshid Lashkari
Hi Émeric, I'm assuming OSG_ROOT refers to the install folder of your OSG based application. The plug-ins should go into OSG_ROOT\bin\osgPlugins-X.Y.Z. OSG will automatically prepend the "osgPlugins-X.Y.Z\" path when attempting to load "osgdb_*.dll" plugins. For example, let's say I install my ap

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Chris Hanson
I deploy my applications with their own local copy of OSG in the same folder as the main application executable. I typically have a dozen different versions and flavors of OSG on my computer at once so OSG_ROOT becomes irrelevant. On Wed, Sep 24, 2014 at 11:39 AM, Émeric MASCHINO wrote: > Hi Far

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Émeric MASCHINO
Hi Farshid, Correct, but what about the plug-ins and examples? They aren't installed in OSG_ROOT\bin. So if you only copy the DLLs in OSG_ROOT\bin, when trying to load a plug-in (installed in OSG_ROOT\bin\osgPlugins-X.Y.Z) or running an example (installed in OSG_ROOT\shared\OpenSceneGraph\bin) tha

Re: [osg-users] OSG deployment on Windows

2014-09-24 Thread Farshid Lashkari
Hi Émeric, Placing the external libraries in OSG_ROOT\bin should work as long as the main executable is also in OSG_ROOT\bin. Windows should first search for DLLs in the same folder as the executable before searching in PATH. So there is no need to add your application to PATH, or worry about conf

[osg-users] OSG deployment on Windows

2014-09-24 Thread Émeric MASCHINO
Hi, What's the best practice regarding OSG deployment on Windows? Indeed, several plug-ins depend on external libraries. Is it best to put the required DLLs in OSG_ROOT\bin\osgPlugins-X.Y.Z or rather in OSG_ROOT\bin, thus ensuring that OSG_ROOT\bin is in the PATH so that the plug-ins can find them