Hi Sophie, The OSG certainly has all required functions - it builds just fine under Linux. Windows is a bit of special case in that you have to export and import symbols when using dll's like the OSG does, but all the classes should have the relevant OSG_EXPORT etc in front of them.
There is chance that perhaps one of these is missing in CVS, although the the classes and example you are getting errors haven't change for a good while so its likely that they are just fine. This makes it most likely that there is build issue with how you've built the OSG, or perhaps a VS6.0 specific issue, as its now a rather outdated compiler, so not so commonly tested these days. Perhaps one issue could be that you have another version of the OSG installed. Or perhaps there was a build error elsewhere. Another thing to try is just disabling the build of osgcamera and try the other examples. Robert. On 6/16/06, DESCHAMPS.Sophie <[EMAIL PROTECTED]> wrote:
Hi, I try to compil my first Win32 application using OpenSceneGraph with CVS 6.0. The compilation is ok but when linking i have got the above errors : osgcamera.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall osgUtil::SceneView::cullStage(class osg::Matrixd const &,class osg::Matrixd const &,class osgUtil::CullVisitor *,class osgUtil::StateGraph *,class osgUtil: :RenderStage *)" ([EMAIL PROTECTED]@osgUtil@@[EMAIL PROTECTED]@@[EMAIL PROTECTED] ... osg::CameraNode::~CameraNode(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) osgcamera.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class osg::Node * __cdecl osgDB::readNodeFiles(class osg::ArgumentParser &,class osgDB::ReaderWriter::Options const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@AAVA [EMAIL PROTECTED]@[EMAIL PROTECTED]@1@@Z) osgcamera.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osgDB::ReaderWriter::Options * __thiscall osgDB::Registry::getOptions(void)" ([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) osgcamera.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::BarrierOperation::release(void)" ([EMAIL PROTECTED]@osg@@UAEXXZ) ../../../bin/osgcamerad.exe : fatal error LNK1120: 103 unresolved externals Error executing link.exe. So it seems that CVS doesn't know osg functions. Can you help me? Regards Sophie Deschamps _______________________________________________ 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/
