[osg-users] SVN osgViewer plugin build error

Serge Lages serge.lages at gmail.com
Fri Sep 21 07:16:25 PDT 2007


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 "
(?cloneType at Viewer@osgViewer@@UBEPAVObject at osg@@XZ)
Viewer.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall osgViewer::Viewer::clone(class
osg::CopyOp const &)const "
(?clone at Viewer@osgViewer@@UBEPAVObject at osg@@ABVCopyOp at 4@@Z)
Viewer.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgViewer::Viewer::isSameKindAs(class
osg::Object const *)const "
(?isSameKindAs at Viewer@osgViewer@@UBE_NPBVObject at osg@@@Z)
Viewer.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall
osgViewer::Viewer::libraryName(void)const "
(?libraryName at Viewer@osgViewer@@UBEPBDXZ)
Viewer.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall
osgViewer::Viewer::className(void)const "
(?className at Viewer@osgViewer@@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070921/9a38d719/attachment-0002.htm>


More information about the osg-users mailing list