Hi J-S, On 12/22/06, Jean-Sebastien Guay <[EMAIL PROTECTED]> wrote:
Hi Robert, There are still some compilation/link problems, particularly the osgunittests project throws a bunch of warnings and one error (though that might just be because it's currently under heavy development).
osgViewer and osgcamera are under heavy dev, but osgunitests is just a small refactor..
The warnings (there are 36) all look like: ..\..\..\examples\osgunittests\UnitTestFramework.cpp(196) : warning C4273: 'timer_' : inconsistent dll linkage
I didn't spot the OSG_EXPORT's in the UnitTestFramework.h which are now redundant, so I've removed these and checked them in. This should solve this build problem.
As well, osgCamera gives some linker errors : osgcamera.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgViewer::View::setUpViewAcrossAllScreens(void)" ([EMAIL PROTECTED]@osgViewer@@QAEXXZ) referenced in function _main
Another simple fix, just replaced the osgProducer depedency with osgViewer in the OpenSenegraph.dsw for the osgcamera example entry. Again checked in so should now work fine.
And osgWrapper osgSim gives these linker errors : ElevationSlice.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgUtil::IntersectionVisitor::`vbase destructor'(void)" ([EMAIL PROTECTED]@@QAEXXZ) referenced in function "public: __thiscall osgIntrospection::Value::Instance<class osgUtil::IntersectionVisitor>::Instance<class osgUtil::IntersectionVisitor>(class osgUtil::IntersectionVisitor)"
I'll probably need to tweak the osgSim genwrapping for this. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
