On Fri, 2008-11-21 at 16:06 +0000, Robert Osfield wrote:
> Hi JS,
> 
> Sorry about this, it's simply that I missed adding a OSGWIDGET_EXPORT
> in front of the class declarations.  I've now added these could do an
> svn update.

I just did quick look at the osgWidget/Browser object you've added; if
you wanted, you could have:

        Widget* createBrowserWidget()

...and have the method return a Widget properly sized and having it's
setImage()/setTexture() method called. That'd give you power to just
kinda plug it right into osgWidget anywhere, although if you have your
own event handler you'll need to set the Widget's eventMask to
EVENT_NONE so my code doesn't intercept yours. :)

> Robert.
> 
> On Fri, Nov 21, 2008 at 3:49 PM, Jean-Sébastien Guay
> <[EMAIL PROTECTED]> wrote:
> > Hi Robert,
> >
> > After an update this morning, I'm getting a linker error in the osgbrowser
> > example:
> >
> > 32>osgbrowser.obj : error LNK2019: unresolved external symbol "public:
> > static class osg::ref_ptr<class osgWidget::BrowserManager> & __cdecl
> > osgWidget::BrowserManager::instance(void)"
> > ([EMAIL PROTECTED]@osgWidget@@[EMAIL PROTECTED]@osgWidget@@@osg@@XZ)
> > referenced in function _main
> >
> > I wonder, I do not have any of the XUL libraries, so should that example
> > even be included in that case? I imagine it won't do anything if it can't
> > create an embedded browser...
> >
> > J-S
> > --
> > ______________________________________________________
> > Jean-Sebastien Guay    [EMAIL PROTECTED]
> >                               http://www.cm-labs.com/
> >                        http://whitestar02.webhop.org/
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to