Re: [osg-users] [osgPlugins] VRML plugin - compile error (osg 2.9.8, VS2008, openvrml 0.4.13)

2010-07-30 Thread Thomas Beer

> -Original Message-
> From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-
> boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger
> Sent: Thursday, July 29, 2010 2:15 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] [osgPlugins] VRML plugin - compile error (osg
2.9.8,
> VS2008, openvrml 0.4.13)
> 
> If you are getting exceptions/crashes, it could be that Boost, OpenVRML
> and/or OSG were not compiled using the same compiler and same settings
> (debug vs. release ...). In order to make sure that everything is set up
> correctly you may need to rebuild all the libraries yourself to ensure
> consistency, instead of downloading a pre-built binary.

I have built all libraries myself using the same compiler settings (in both,
32 and 64 bit configurations) and tried boost versions 1.42 and 1.43 (and an
additional test with 1.38 pre built 32 bit). Always the same issue about an
exception thrown somewhere from boost::filesystem before main/dllmain
app/vrmlplugin/openvrml was reached (thus most probably coming from a static
initialization). Which boost version was tested with the plugin on MSVC?

Thanks!

Regards,
Thomas



___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPlugins] VRML plugin - compile error (osg 2.9.8, VS2008, openvrml 0.4.13)

2010-07-28 Thread Thomas Beer
I have sucessfully *built* it with the current openvrml version (0.18.3).
The problem I have is, that the openvrml.dll (boost) is throwing exceptions
before the DllMain is reached and thus the LoadLibrary call fails / the
exceptions cannot be caught - and with that also the loading of the
osgPlugin referring to the openvrml.dll fails.

Any fixes to that issue? BTW I already set the OPENVRML_DATADIR environment
variable, which would too cause a failure when loading the openvrml.dll.

Regards,
Thomas

On Wed, Jul 28, 2010 at 11:04 AM, Florian Kuzmany <
florian.kuzm...@jungheinrich.de> wrote:

> Hi,
>
> I desperately try to compile osg 2.9.8 with the vrml-plug-in using VS 2008.
>
> I followed the instructions on the vrml-plugin-site and was able to create
> the openvrm lib-files and added the pathes to cmake.
>
> Compiling osg, over hundred errors occur.
> It seems that osg refers to classes which don't exist in openvrml.lib (e.g.
> resource_fetcher).
>
> Is Version 0.4.13 of openvrml still the right one? What do I do wrong?
>
> Can anyone help me?
>
> Thanks,
> Kuzy
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=30344#30344
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org