> Could you report the specific errors perhaps this might shed some > light. FYI, I have just check osgViewer and osgviewer and neither > include gl.h themselves, just normal OSG headers.
Hi Robert, Having rechecked everything back out and it seemed to clear the errors with the OSGviewer Library. I am still getting one error in OSGShadow (Library) because #include<windows.h> is not before the #include<gl.h> in the file occludergeometry.cpp or removing the includes for the gl.h and glext.h in the occudlergeometry.cpp file seems to work for me. Also there are some more errors which I am still trying to work out as below(silly export issue?): Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgViewer::CompositeViewer::setFrameStamp(class osg::FrameStamp *)" ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]@@@Z) referenced in function "public: __thiscall `anonymous namespace'::reflector45::reflector45(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) CompositeViewer.obj Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgViewer::Viewer::setFrameStamp(class osg::FrameStamp *)" ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]@@@Z) referenced in function "public: __thiscall `anonymous namespace'::reflector42::reflector42(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) Viewer.obj Error 3 fatal error LNK1120: 2 unresolved externals .\../../../bin/Win32/osgwrapper_osgViewerd.dll Hope its not me ;-) Thanks for you reply. Martin. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.3/642 - Release Date: 20/01/2007 22:31 _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
