Okay, thanks for the info Robert: that's the location I was looking for. You're right, now I just have to test the same "force symbol include" than for the plugins ;-)...
Manu. 2007/5/21, Robert Osfield <[EMAIL PROTECTED]>:
Hi Manu, The implemenation of the WindowSystemInterface auto registers itself, so even though osgViewer::Viewer does directly include GraphicsWindowWin32/X11/Carbon it is able to pick it up - but... obviously in the case of static build the compiler thinks because it isn't referenced GraphicsWindowWIn32.o etc aren't required. What you'll need to do is explictly reference the include/osgVewier/api/GraphicsWindowWin32, X11 or Carbon (which ever is native). This is the same issue as for the plugins that autoregister to are loosely coupled. Robert. On 5/21/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote: > Hello there !! > > I'm still trying to build the static version of OSG (on WinXP, MSVC 2003 > .NET), I built the core libs, the common plugins, retrieved the mangled > names in those plugins, forced the link in the osganimate sample and tried > to start the program, I suppose the plugins libs I added are "correctly" > loaded because at the begining I had an error "couldn't find plugin to read > cessna.osg, etc...", and now no error anymore. Unfortunately now I get : > > View::setUpViewAcrossAllScreens() : Error, no > WindowSystemInterface available, cannot create windows. > Viewer::realize() - failed to set up any windows > > I suppose this is linked to the new osgViewer system but I'm not used to > it.... :-( Any idea of what I missed here ??... > > regards, > > Manu. > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
