Hi Paul, I have checked in the addition of osgSim dependency to the osgintersection example dependency in OpenSceneGraph.dsw.
I'm not sure how best to tackle the osgWrapper osgSim yet, it looks like it needs osgUtil to be included in its dependency list but genwrapper hasn't spotted this. genwrapper.conf has an explicit reference to osgUtil for osgSim under unix, but not one for windows. The osgSim wrappers should have always had the dependency on osgUtil, so one has to ask when does the problem exist now... Could it be simply that something isn't exported from osgUtil/IntersectionVisitor that should be... I'll look into this. Robert. On 12/2/06, Paul Martz <[EMAIL PROTECTED]> wrote:
Hi Robert -- I'm getting the following linker errors from VS8 with the current CVS... 1>------ Build started: Project: osgWrapper osgSim, Configuration: Debug Win32 ------ 1>Linking... 1>ElevationSlice.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgUtil::IntersectionVisitor::IntersectionVisitor(class osgUtil::IntersectionVisitor const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) referenced in function "public: __thiscall osgIntrospection::Value::Instance_box<class osgUtil::IntersectionVisitor>::Instance_box<class osgUtil::IntersectionVisitor>(class osgUtil::IntersectionVisitor const &,bool)" ([EMAIL PROTECTED]@osgUtil@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@osgUtil@@[EMAIL PROTECTED]) 1>HeightAboveTerrain.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall osgUtil::IntersectionVisitor::IntersectionVisitor(class osgUtil::IntersectionVisitor const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) 1>LineOfSight.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall osgUtil::IntersectionVisitor::IntersectionVisitor(class osgUtil::IntersectionVisitor const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) 1>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)" ([EMAIL PROTECTED]@osgUtil@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@osgUtil@@@Z) 1>HeightAboveTerrain.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgUtil::IntersectionVisitor::`vbase destructor'(void)" ([EMAIL PROTECTED]@@QAEXXZ) 1>LineOfSight.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgUtil::IntersectionVisitor::`vbase destructor'(void)" ([EMAIL PROTECTED]@@QAEXXZ) 1>.\../../../bin/Win32/osgwrapper_osgSimd.dll : fatal error LNK1120: 2 unresolved externals 1>Build log was saved at "file://c:\OpenSceneGraph\VisualStudio\osgWrappers\osgSim\Win32\Debug\BuildLog.htm" 1>osgWrapper osgSim - 7 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 1>------ Build started: Project: Example osgintersection, Configuration: Debug Win32 ------ 1>Linking... 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgSim::LineOfSight::~LineOfSight(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgSim::ElevationSlice::~ElevationSlice(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgSim::ElevationSlice::computeIntersections(class osg::Node *)" ([EMAIL PROTECTED]@osgSim@@[EMAIL PROTECTED]@@@Z) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgSim::ElevationSlice::setEndPoint(class osg::Vec3d const &)" ([EMAIL PROTECTED]@osgSim@@[EMAIL PROTECTED]@@@Z) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgSim::ElevationSlice::setStartPoint(class osg::Vec3d const &)" ([EMAIL PROTECTED]@osgSim@@[EMAIL PROTECTED]@@@Z) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgSim::ElevationSlice::setDatabaseCacheReadCallback(class osgSim::DatabaseCacheReadCallback *)" ([EMAIL PROTECTED]@osgSim@@[EMAIL PROTECTED]@@Z) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class osgSim::DatabaseCacheReadCallback * __thiscall osgSim::LineOfSight::getDatabaseCacheReadCallback(void)" ([EMAIL PROTECTED]@osgSim@@[EMAIL PROTECTED]@XZ) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgSim::ElevationSlice::ElevationSlice(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main 1>osgintersection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgSim::LineOfSight::LineOfSight(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main 1>.\../../../bin/Win32/osgintersectiond.exe : fatal error LNK1120: 9 unresolved externals 1>Build log was saved at "file://c:\OpenSceneGraph\VisualStudio\examples\osgintersection\Win32\Debug\BuildLog.htm" 1>Example osgintersection - 10 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com 303 859 9466 _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
