Pushpak Karnick wrote: > I just downloaded OSG 1.9.7 and am trying to write a simple (?) MFC > application (based on the osgViewerMFC example code). > My application worked pretty well with 1.9.6, but changing to 1.9.7 > introduces the following linker error: > > ============================================================================ > 1>Linking... > 1>MFC_OSG.obj : error LNK2001: unresolved external symbol "public: virtual > class osgViewer::GraphicsWindowEmbedded * __thiscall > osgViewer::Viewer::setUpViewerAsEmbeddedInWindow(int,int,int,int)" ([EMAIL > PROTECTED]@osgViewer@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) > 1>D:\NSF_VIS\Sandbox\PointLabeling\Debug\PointLabeling.exe : fatal error > LNK1120: 1 unresolved externals > ============================================================================
GraphicsWindowEmbedded is a fairly recent addition. (Last week or so.) Most likely cause is that you have an older version of OSG installed and its headers get picked up instead of the new ones. Could that be it? /Ulrich _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
