> -----Original Message-----
> From: [email protected] [mailto:osg-users-
> [email protected]] On Behalf Of Paolo Piazzi
> Sent: Wednesday, September 07, 2011 2:44 PM
> To: [email protected]
> Subject: Re: [osg-users] [osgPlugins] VRML plugin: help in compiling
>
>
> openvrml-dl project was built correctly.
> I added a dependency to openvrml-dld.lib to openvrml project too. Now the
> osgviewerd.exe can fing the wrl plugin, but it gives me this error in
> http://imageshack.us/photo/my-images/685/errorosg.jpg/
>
This error indicates that you didn't build vrml97.dll node or the node cannot
be found. The search paths can be put into registry under
HKEY_LOCAL_MACHINE\SOFTWARE\OpenVRML\OpenVRML:
NodePath ... the path to .dll nodes
Datadir ... data dir must contain component subdirectory with component xml
files
ScriptPath ... can be empty
I also had to comment out following lines in ReaderWriterVRML2.cpp:
/* std::string unixFileName = osgDB::convertFileNameToUnixStyle(fileName);
#ifdef WIN32
if(unixFileName[1] == ':') // absolute path
fileName = "file:///" + unixFileName;
#else
if (unixFileName[0] == '/') // absolute path
fileName = "file://" + unixFileName;
#endif
else
// relative path
fileName = unixFileName;*/
Robert Milharcic
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org