Hi all,
I am new osg and I was working on to add some text to a simple scene.
I tried looking at the osgText example from examples. The executable are working properly.
When i try copying and run the source code, I was not able to run it properly. Some of the errors are listed below.
I tried looking at the osg directories for osgText.I was not able to identify the problem
Please let me know what could be the problem.
Errors:
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::accept(class osg::Drawable::ConstAttributeFunctor &)const " (
[EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@osg@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::accept(class osg::PrimitiveFunctor &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::Drawable::AttributeFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@osg@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::Drawable::ConstAttributeFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@osg@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::PrimitiveFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::drawImplementation(class osg::State &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::BoundingBox __thiscall osgText::Text::computeBound(void)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@XZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::releaseGLObjects(class osg::State *)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgText::Text::className(void)const " ( [EMAIL PROTECTED]@osgText@@UBEPBDXZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgText::Text::libraryName(void)const " ( [EMAIL PROTECTED]@osgText@@UBEPBDXZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::isSameKindAs(class osg::Object const *)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgText::Text::clone(class osg::CopyOp const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgText::Text::cloneType(void)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@XZ)
osgHapticViewer error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgText::Text::setFontResolution(unsigned int,unsigned int)" ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]) referenced in function "class osg::Group * __cdecl createHUDText(void)" ( ?createHUDText@@[EMAIL PROTECTED]@@XZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::accept(class osg::PrimitiveFunctor &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::Drawable::AttributeFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@osg@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::Drawable::ConstAttributeFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@osg@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::supports(class osg::PrimitiveFunctor const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::drawImplementation(class osg::State &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::BoundingBox __thiscall osgText::Text::computeBound(void)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@XZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual void __thiscall osgText::Text::releaseGLObjects(class osg::State *)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgText::Text::className(void)const " ( [EMAIL PROTECTED]@osgText@@UBEPBDXZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgText::Text::libraryName(void)const " ( [EMAIL PROTECTED]@osgText@@UBEPBDXZ)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgText::Text::isSameKindAs(class osg::Object const *)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgText::Text::clone(class osg::CopyOp const &)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
osgHapticViewer error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgText::Text::cloneType(void)const " ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]@@XZ)
osgHapticViewer error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgText::Text::setFontResolution(unsigned int,unsigned int)" ( [EMAIL PROTECTED]@osgText@@[EMAIL PROTECTED]) referenced in function "class osg::Group * __cdecl createHUDText(void)" ( ?createHUDText@@[EMAIL PROTECTED]@@XZ)
Thank you
regards
Tirumalesh c
Lamar University,TX-USA
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
