> > For the two projects that don't compile, I saw that most errors were simple
> > typos and that the Shadow Volume functionality is in flux anyways, so I
> won't
> > even paste the errors as it's probably irrelevant. If you want them just
> ask.
>
> What were the errors?
>
> I have just added in the osgShadow dependency to the osgshadowtexture
> example.

Ok, you asked for it! (note that I just updated from CVS so these are new errors
after your latest fixes).


1>------ Build started: Project: Core osgShadow, Configuration: Release Win32
------
1>Compiling...
1>ShadowVolume.cpp
1>ShadowTexture.cpp
1>Generating Code...
1>Linking...
1>   Creating library ../../lib/Win32/osgShadow.lib and object
../../lib/Win32/osgShadow.exp
1>ShadowTexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) class osg::Image * __cdecl osgDB::readImageFile(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &,class osgDB::ReaderWriter::Options const *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@1@@Z)
referenced in function "class osg::Image * __cdecl osgDB::readImageFile(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z)
1>ShadowTexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class osgDB::ReaderWriter::Options * __thiscall
osgDB::Registry::getOptions(void)"
([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced
in function "class osg::Image * __cdecl osgDB::readImageFile(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z)
1>ShadowTexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class osgDB::Registry * __cdecl
osgDB::Registry::instance(bool)" ([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@Z)
referenced in function "class osg::Image * __cdecl osgDB::readImageFile(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z)
1>.\../../bin/Win32/osgShadow.dll : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at
"file://g:\OpenSceneGraph-CVS\OpenSceneGraph\VisualStudio\osgShadow\Win32\Release\BuildLog.htm"
1>Core osgShadow - 4 error(s), 0 warning(s)


7>------ Build started: Project: Example osgshadow, Configuration: Release Win32
------
7>Linking...
7>Embedding manifest...
7>Build log was saved at
"file://g:\OpenSceneGraph-CVS\OpenSceneGraph\VisualStudio\examples\osgshadow\Win32\Release\BuildLog.htm"
7>Example osgshadow - 0 error(s), 0 warning(s)
8>------ Build started: Project: Example osgshadowtexture, Configuration:
Release Win32 ------
8>Compiling...
8>osgshadowtexture.cpp
8>Linking...
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgShadow::ShadowTexture::ShadowTexture(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "class
osg::Node * __cdecl createModel(class osg::ArgumentParser &)"
(?createModel@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgShadow::ShadowVolume::setDynamicShadowVolumes(bool)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]) referenced in
function "class osg::Node * __cdecl createModel(class osg::ArgumentParser &)"
(?createModel@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgShadow::ShadowedScene::setShadowTechnique(class osgShadow::ShadowTechnique
*)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@Z)
referenced in function "class osg::Node * __cdecl createModel(class
osg::ArgumentParser &)" (?createModel@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgShadow::ShadowVolume::ShadowVolume(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "class
osg::Node * __cdecl createModel(class osg::ArgumentParser &)"
(?createModel@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgShadow::ShadowedScene::ShadowedScene(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "class
osg::Node * __cdecl createModel(class osg::ArgumentParser &)"
(?createModel@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall
osgShadow::ShadowedScene::cloneType(void)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@XZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall osgShadow::ShadowedScene::clone(class
osg::CopyOp const &)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgShadow::ShadowedScene::isSameKindAs(class
osg::Object const *)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall
osgShadow::ShadowedScene::libraryName(void)const "
([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall osgShadow::ShadowedScene::className(void)const
" ([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowedScene::accept(class osg::NodeVisitor
&)" ([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowedScene::traverse(class
osg::NodeVisitor &)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall
osgShadow::ShadowVolume::cloneType(void)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@XZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall osgShadow::ShadowVolume::clone(class
osg::CopyOp const &)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgShadow::ShadowVolume::isSameKindAs(class osg::Object
const *)const " ([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall osgShadow::ShadowVolume::libraryName(void)const
" ([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall osgShadow::ShadowVolume::className(void)const "
([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowVolume::init(void)"
([EMAIL PROTECTED]@osgShadow@@UAEXXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowVolume::update(class osg::NodeVisitor
&)" ([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowVolume::cull(class
osgUtil::CullVisitor &)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowVolume::cleanSceneGraph(void)"
([EMAIL PROTECTED]@osgShadow@@UAEXXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTechnique::traverse(class
osg::NodeVisitor &)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTechnique::dirty(void)"
([EMAIL PROTECTED]@osgShadow@@UAEXXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall
osgShadow::ShadowTexture::cloneType(void)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@XZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall osgShadow::ShadowTexture::clone(class
osg::CopyOp const &)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgShadow::ShadowTexture::isSameKindAs(class
osg::Object const *)const "
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall
osgShadow::ShadowTexture::libraryName(void)const "
([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall osgShadow::ShadowTexture::className(void)const
" ([EMAIL PROTECTED]@osgShadow@@UBEPBDXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTexture::init(void)"
([EMAIL PROTECTED]@osgShadow@@UAEXXZ)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTexture::update(class osg::NodeVisitor
&)" ([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTexture::cull(class
osgUtil::CullVisitor &)"
([EMAIL PROTECTED]@osgShadow@@[EMAIL PROTECTED]@@@Z)
8>osgshadowtexture.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgShadow::ShadowTexture::cleanSceneGraph(void)"
([EMAIL PROTECTED]@osgShadow@@UAEXXZ)
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgShadow::ShadowedScene::~ShadowedScene(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "protected:
virtual void * __thiscall osgShadow::ShadowedScene::`scalar deleting
destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgShadow::ShadowVolume::~ShadowVolume(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "protected:
virtual void * __thiscall osgShadow::ShadowVolume::`scalar deleting
destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
8>osgshadowtexture.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgShadow::ShadowTexture::~ShadowTexture(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "protected:
virtual void * __thiscall osgShadow::ShadowTexture::`scalar deleting
destructor'(unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
8>.\../../../bin/Win32/osgshadowtexture.exe : fatal error LNK1120: 35 unresolved
externals
8>Build log was saved at
"file://g:\OpenSceneGraph-CVS\OpenSceneGraph\VisualStudio\examples\osgshadowtexture\Win32\Release\BuildLog.htm"
8>Example osgshadowtexture - 36 error(s), 0 warning(s)


These are all missing dependencies I think (linker errors), so easy to fix.

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to