Re: [osg-users] [osgPlugins] Using Plugins Statically Linker Problem

2009-08-31 Thread stefan nortd
Thanks Robert, It turns out that USE_OSGPLUGIN is working fine for osgdb_png and osgdb_jpeg. I was simply not aware that I had to link againg libpng.lib ang libjpeg.lib. I though since I compiled osg statically all the support lib symbols are therefore in the osgdb_png/jpeg files. On linux I h

Re: [osg-users] [osgPlugins] Using Plugins Statically Linker Problem

2009-08-31 Thread Robert Osfield
Hi Stefan, I don't use Windows so can't comment on the platform specifics issues. The macro's used to get things to work under the static build essentially just create C entry points that are exported in the plugin, and then used in your application when you add a USE_OSGPLUGIN(png). Go have a l

[osg-users] [osgPlugins] Using Plugins Statically Linker Problem

2009-08-30 Thread stefan nortd
Hi, I am currently using osg statically and cross-platform. I have been pretty happy with how it worked out but have recently run into problems with certain plugins. Freetype works fine but png or jpeg does not with VS2008. I do the usual USE_OSGPLUGIN(png); and am also setting the path to the