[osg-users] osg static linking with plugins program can not close normally
Robert Osfield
robert.osfield at gmail.com
Tue Apr 1 01:00:42 PDT 2008
Hi Shubo,
Static build with the OSG is still very much on the bleeding edge. I
wrote the osgstaticviewer to help flesh how its possible to manually
register plugins to get around the name managling issue. I only have
linux here so I've personally only tested here, its likely to work
under other unices, but for Windows I have to rely upon Windows
experts to test/debug.
Robert.
On Tue, Apr 1, 2008 at 3:04 AM, wangzhuhhjj <wangzhuhhjj at yahoo.com.cn> wrote:
>
>
> Hi,Guys
> I am trying to staticly linking osg. When using dlls of dynamic
> linking, my programm is all ok, but when i use static link , i find that my
> program can not be closed normally, when app close, the process is still on
> in the process monitor, after some time, the program crash on "free"
> function.
> I found that if i do not load the dlls using mangled names(the plugins
> i'm using are: ive/png/freetype/tga), that's ok, so i think the problem may
> lies on the loading and deloading the plugins, maybe memory free, any ideas?
> thanks a lot!
>
> shubo
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
More information about the osg-users
mailing list