On Tue, 2008-05-06 at 00:15 +0200, Mattias Helsing wrote: > Hi Green, > > Try putting a "OSG_EXPORT" between class and EmbeddedWindow in > Window.h. The same goes for some other classes (CORNER and BORDER in > Frame - only needed if you subclass Frame) . osgWidget isn't in a > well-tested state yet and Jeremy is working hard to work up some > muscles in osgWidget.
Bah! You're right. I had this changed in my local repo, but it was uncomitted... > hope this helps > Mattias > > On 5/5/08, Green <[EMAIL PROTECTED]> wrote: > > There are two link errors: > > > > The first: > > > > 1>osgwidgetscrolled.obj : error LNK2019: unresolved external symbol "public: > > bool __thiscall osgWidget::Window::EmbeddedWindow::setWindow(class > > osgWidget::Window *)" > > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAE_NPAV23@@Z) referenced in > > function _main > > > > 1>Debug\osgwidgetscrolledd.exe : fatal error LNK1120: 1 unresolved externals > > > > > > > > The second: > > > > 2>EmbeddedWindow.obj : error LNK2019: unresolved external symbol "public: > > __thiscall osgWidget::Window::EmbeddedWindow::EmbeddedWindow(class > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> > const &,float,float)" > > ([EMAIL PROTECTED]@osgWidget@@[EMAIL PROTECTED]@[EMAIL PROTECTED] > > @std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) referenced in function > > "void __cdecl > > `dynamic initializer for 'g_osgWidget_EmbeddedWindowProxy''(void)" > > (??__Eg_osgWidget_EmbeddedWindowProxy@@YAXXZ) > > > > 2>Debug\osgdb_osgwidgetd.dll : fatal error LNK1120: 1 unresolved externals > > > > > > > > Could anyone tell me what's wrong? > > > > I have checked my lib, and they are all set correctly. > > > > > _______________________________________________ > 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