Eron Steger wrote:

>I see...
>
>Unfortunately, at least under Windows this doesn't work. I believe this 
>is because the plugins are separated into debug and release 
>directories.  Consider a search for the OBJ plugin.  It is located in 
>the following locations:
>
>OpenSceneGraph\lib\osgPlugins-2.1.2\debug\osgdb_objd.dll
>OpenSceneGraph\lib\osgPlugins-2.1.2\release\osgdb_obj.dll
>
> From the look of it, osgDB isn't searching inside the debug/release 
>directories, instead looking for the file at 
>"OpenSceneGraph\lib\osgPlugins-2.1.2\osgdb_objd.dll".
>  
>
not sure about latest release, but as for previous dev release, this is 
the situation after the build solution phase, if you also build the 
Install target, this should place plugins directly in the bin folder
of your INSTALL_PREFIX folder.
The default CMake behaviour is to produceVisual Studio projects that put 
dll into separate folders for Debug and Release builds.
It is possible to move them in the install step or by by defining a post 
build custom command but I do not know if they can be directly generated 
in the same  folder

Hope it helps
                        Luigi

>- Eron
>
>
>Robert Osfield wrote:
>  
>
>>Hi Eron,
>>
>>The version number is inserted into the plugin directory name to avoid
>>problems with mixing plugins of different versions to that linked to
>>at compile time.
>>
>>You should not need to ever encode the plugin directory path into your
>>app, only the path to the parent directory of the plugin directory, as
>>osgDB will automatically prepend the correct osgPlugin-version
>>directory to the path when it can't find a plugin straight away.
>>
>>Robert.
>>
>>On 7/30/07, Eron Steger <[EMAIL PROTECTED]> wrote:
>>  
>>    
>>
>>>Hello,
>>>
>>>I'm curious as to why the compiled 'osgPlugins' directory on Windows
>>>contains the version in the directory's name (i.e.
>>>OpenSceneGraph\lib\osgPlugins-2.1.2\debug).  This provides a constant
>>>annoyance everytime the version is updated, as the path has to be
>>>updated.  As well, since the rest of the compiled osg library doesn't
>>>have a version associated with it, it doesn't really provide backward
>>>compatibility since those other files will be clobbered when compiling a
>>>new release.
>>>
>>>- Eron
>>>_______________________________________________
>>>osg-users mailing list
>>>[email protected]
>>>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>    
>>>      
>>>
>>_______________________________________________
>>osg-users mailing list
>>[email protected]
>>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>  
>>    
>>
>_______________________________________________
>osg-users mailing list
>[email protected]
>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>  
>

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

Reply via email to