[osg-users] [osgPlugins] Problems with .ive loading

Voerman, L. l.voerman at rug.nl
Thu Nov 10 04:59:16 PST 2016


Hi Lyubov,

in your path you have  the unexpanded string
"%projectpath%\osgPlugins-3.4.0\osgdb_ived.dll"
- that will not work.
Depending on how and when this is set you need to fix the expansion:

registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment Path

or

HKEY_CURRENT_USER\Environment Path

might have changed from type REG_EXPAND_SZ into REG_SZ by some installer.


Or you set it in a bat file before you define projectpath.

Regards, Laurens.


On Wed, Nov 9, 2016 at 10:55 AM, Lyubov Akimova <lauanon at mail.ru> wrote:

> Hi,
>
> I have a problem with osg_ived.dll in 3.4.0 version.
>
> As I'm trying to launch this code to open .ive file
>
> Code:
> osg::ref_ptr<osg::Node> model = osgDB::readNodeFile(
> modelFileName.toStdString());
>
>
>
> I get this error in cmd:
>
> >
> > FindFileInPath() : USING %projectpath%\osgPlugins-3.4.0\osgdb_ived.dll
> > DynamicLibrary::failed loading "osgPlugins-3.4.0/osgdb_ived.dll"
>
>
> On version 3.2.2 it worked fine, error occures only in 3.4.0.
> Compiler is MSVC 14.0, OS is Win10, project is 32-bit.
>
> Thank you!
>
> Cheers,
> Lyubov
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69284#69284
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161110/fa846d34/attachment-0003.htm>


More information about the osg-users mailing list