HI Serge,

Sorry about this error.  I've been checking in a set of changes to
osgViewer and the osgViewer plugin for the support the reading of
viewer configuration files.  There has been a series of check-ins, so
there is chance that the error you've seen is now fixed.  Could you do
another svn update and let me know how you get on.

If an svn update doesn't work then I'm a bit stumped, as the missing
methods should be defined by the META_Object macro that can be now
found in include/osgViewer/Viewer.

Robert.

On 9/21/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have just updated and tried to build but I am having this error on the
> osgViewer plugin :
>
> Compiling...
> ReaderWriterOsgViewer.cpp
> CompositeViewer.cpp
> Viewer.cpp
> View.cpp
> Generating Code...
>
> Linking...
> Viewer.obj : error LNK2001: unresolved external symbol "public: virtual
> class osg::Object * __thiscall
> osgViewer::Viewer::cloneType(void)const "
> ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]@@XZ)
>
> Viewer.obj : error LNK2001: unresolved external symbol "public: virtual
> class osg::Object * __thiscall osgViewer::Viewer::clone(class osg::CopyOp
> const &)const " ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]
> @@[EMAIL PROTECTED]@@Z)
> Viewer.obj : error LNK2001: unresolved external symbol "public: virtual bool
> __thiscall osgViewer::Viewer::isSameKindAs(class
> osg::Object const *)const "
> ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]
> @@@Z)
> Viewer.obj : error LNK2001: unresolved external symbol "public: virtual char
> const * __thiscall
> osgViewer::Viewer::libraryName(void)const "
> ([EMAIL PROTECTED]@osgViewer@@UBEPBDXZ)
> Viewer.obj : error LNK2001: unresolved external symbol "public: virtual char
> const * __thiscall osgViewer::Viewer::className(void)const
> " (?className@
> [EMAIL PROTECTED]@@UBEPBDXZ)
> D:\Code\Magrathea\Dependencies\Main\OpenSceneGraph\lib\Release\..\..\bin\osgPlugins-2.1.11\osgdb_osgviewer.dll
> : fatal error LNK1120: 5 unresolved externals
>
>
> It lead to another problem, during the INSTALL process of CMAKE I have this
> error :
>
> CMake Error: Error in cmake code at
> D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/src/osgPlugins/osgViewer/cmake_install.cmake:34:
> FILE INSTALL cannot find file
> "D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/lib/Release/../../bin/osgPlugins-
> 2.1.11/osgdb_osgviewer.dll" to install.
> Current CMake stack:
> [4]
> D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/src/osgPlugins/osgViewer/cmake_install.cmake
> [3]
> D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/src/osgPlugins/cmake_install.cmake
>
> [2]
> D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/src/cmake_install.cmake
> [1]
> D:/Code/Magrathea/Dependencies/Main/OpenSceneGraph/cmake_install.cmake
>
>
> Should it be possible to tell CMake to continue to install even if it didn't
> find one of the plugins ?
>
> --
> Serge Lages
> http://www.magrathea-engine.org
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to