[IGSTK-Users] error building IGSTK

Hugo Queiros hugoqueiros at prototipopadrao.com
Tue Sep 6 12:57:43 EDT 2011


Hi,

i am trying to build IGSTK, in a 64 bit machine.

in Cmake, the only option that i checked was BUILD_SHARED_LIBS in the BUILD
group. On the group of IGSTK, i've got all options unchecked, including the
IGSTK_USE_SceneGraphVisualization.
I build the ITK version 3.20 and FLTK 1.3.0.

managed to build the projects for the MSV2010, and after trying to build the
code the following errors occured:

Error 1 error LNK2019: unresolved external symbol "public: class
igstk::CoordinateSystem const * __thiscall
igstk::CoordinateSystemSetTransformResult::GetSource(void)const "
(?GetSource at CoordinateSystemSetTransformResult@igstk@
@QBEPBVCoordinateSystem at 2@XZ) referenced in function "public: void
__thiscall igstk::SceneGraph::AddCoordinateSystem(class
igstk::CoordinateSystemSetTransformEvent const *)"
(?AddCoordinateSystem at SceneGraph@igstk@
@QAEXPBVCoordinateSystemSetTransformEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 2 error LNK2019: unresolved external symbol "public: class
igstk::CoordinateSystem const * __thiscall
igstk::CoordinateSystemSetTransformResult::GetDestination(void)const "
(?GetDestination at CoordinateSystemSetTransformResult@igstk@
@QBEPBVCoordinateSystem at 2@XZ) referenced in function "private: void
__thiscall igstk::SceneGraph::AddCoordinateSystemToParent(class
igstk::SceneGraphNode *,class igstk::CoordinateSystemSetTransformEvent const
*)" (?AddCoordinateSystemToParent at SceneGraph@igstk@@AAEXPAVSceneGraphNode at 2
@PBVCoordinateSystemSetTransformEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 3 error LNK2019: unresolved external symbol "public: class
igstk::Transform const & __thiscall
igstk::CoordinateSystemSetTransformResult::GetTransform(void)const "
(?GetTransform at CoordinateSystemSetTransformResult@igstk@@QBEABVTransform at 2@XZ)
referenced in function "private: void __thiscall
igstk::SceneGraph::CreateNewParentAndAddCoordinateSystem(class
igstk::CoordinateSystemSetTransformEvent const *)"
(?CreateNewParentAndAddCoordinateSystem at SceneGraph@igstk@
@AAEXPBVCoordinateSystemSetTransformEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 4 error LNK2019: unresolved external symbol "public: virtual
__thiscall itk::ExceptionObject::~ExceptionObject(void)"
(??1ExceptionObject at itk@@UAE at XZ) referenced in function "public: void
__thiscall igstk::SceneGraph::ExportSceneGraphToDot(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)" (?ExportSceneGraphToDot at SceneGraph@igstk@
@QAEXV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 5 error LNK2019: unresolved external symbol "public: __thiscall
itk::ExceptionObject::ExceptionObject(class itk::ExceptionObject const &)"
(??0ExceptionObject at itk@@QAE at ABV01@@Z) referenced in function "public: void
__thiscall igstk::SceneGraph::ExportSceneGraphToDot(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)" (?ExportSceneGraphToDot at SceneGraph@igstk@
@QAEXV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 6 error LNK2019: unresolved external symbol "public: virtual void
__thiscall itk::ExceptionObject::SetDescription(char const *)"
(?SetDescription at ExceptionObject@itk@@UAEXPBD at Z) referenced in function
"public: void __thiscall igstk::SceneGraph::ExportSceneGraphToDot(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)" (?ExportSceneGraphToDot at SceneGraph@igstk@
@QAEXV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 7 error LNK2019: unresolved external symbol "public: __thiscall
itk::ExceptionObject::ExceptionObject(void)" (??0ExceptionObject at itk@@QAE at XZ)
referenced in function "public: void __thiscall
igstk::SceneGraph::ExportSceneGraphToDot(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)"
(?ExportSceneGraphToDot at SceneGraph@igstk@@QAEXV?$basic_string at DU
?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 8 error LNK2019: unresolved external symbol "public: class
igstk::CoordinateSystem const * __thiscall
igstk::CoordinateSystemTransformToResult::GetDestination(void)const "
(?GetDestination at CoordinateSystemTransformToResult@igstk@
@QBEPBVCoordinateSystem at 2@XZ) referenced in function "public: void
__thiscall igstk::SceneGraph::ShowTheTransformPath(class
igstk::CoordinateSystemTransformToEvent const *)"
(?ShowTheTransformPath at SceneGraph@igstk@
@QAEXPBVCoordinateSystemTransformToEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 9 error LNK2019: unresolved external symbol "public: class
igstk::CoordinateSystem const * __thiscall
igstk::CoordinateSystemTransformToResult::GetSource(void)const "
(?GetSource at CoordinateSystemTransformToResult@igstk@
@QBEPBVCoordinateSystem at 2@XZ) referenced in function "public: void
__thiscall igstk::SceneGraph::ShowTheTransformPath(class
igstk::CoordinateSystemTransformToEvent const *)"
(?ShowTheTransformPath at SceneGraph@igstk@
@QAEXPBVCoordinateSystemTransformToEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 10 error LNK2019: unresolved external symbol "public: class
igstk::CoordinateSystem const * __thiscall
igstk::CoordinateSystemTransformToResult::GetCommonAncestor(void)const "
(?GetCommonAncestor at CoordinateSystemTransformToResult@igstk@
@QBEPBVCoordinateSystem at 2@XZ) referenced in function "public: void
__thiscall igstk::SceneGraph::ShowTheTransformPath(class
igstk::CoordinateSystemTransformToEvent const *)"
(?ShowTheTransformPath at SceneGraph@igstk@
@QAEXPBVCoordinateSystemTransformToEvent at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraph.obj
SceneGraphVisualization

Error 11 error LNK2019: unresolved external symbol "public: virtual
__thiscall igstk::Transform::~Transform(void)" (??1Transform at igstk@@UAE at XZ)
referenced in function "public: __thiscall
igstk::SceneGraphNode::SceneGraphNode(void)" (??0SceneGraphNode at igstk
@@QAE at XZ)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraphNode.obj
SceneGraphVisualization

Error 12 error LNK2019: unresolved external symbol "public: class
igstk::Transform const & __thiscall igstk::Transform::operator=(class
igstk::Transform const &)" (??4Transform at igstk@@QAEABV01 at ABV01@@Z)
referenced in function "public: __thiscall
igstk::SceneGraphNode::SceneGraphNode(void)" (??0SceneGraphNode at igstk
@@QAE at XZ)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraphNode.obj
SceneGraphVisualization

Error 13 error LNK2019: unresolved external symbol "public: __thiscall
igstk::Transform::Transform(void)" (??0Transform at igstk@@QAE at XZ) referenced
in function "public: __thiscall igstk::SceneGraphNode::SceneGraphNode(void)"
(??0SceneGraphNode at igstk@@QAE at XZ)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraphNode.obj
SceneGraphVisualization

Error 14 error LNK2019: unresolved external symbol "public: bool __thiscall
igstk::Transform::operator!=(class igstk::Transform const &)"
(??9Transform at igstk@@QAE_NABV01@@Z) referenced in function "public: virtual
void __thiscall igstk::SceneGraphNode::SetParentTransform(class
igstk::Transform const &)" (?SetParentTransform at SceneGraphNode@igstk@
@UAEXABVTransform at 2@@Z)
E:\IGSTK_Build\Utilities\SceneGraphVisualization\igstkSceneGraphNode.obj
SceneGraphVisualization

Error 15 error LNK1120: 14 unresolved externals
E:\IGSTK_Build\bin\Debug\SceneGraphVisualization.dll SceneGraphVisualization


________________________________________________________________

If i try to build with examples, testing, support for opencv, fltk... i get
600 and more errors all related to the SceneGraphVisualization error (or it
seems that way).
The thing i really don't understand is why is the project
SceneGraphVisualization included in the build even if i am not checking it
in the Cmake configuration!

Can anyone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110906/68d04c20/attachment.html>


More information about the IGSTK-Users mailing list