hi<div>  I have got some problem when compiling IGSTK.</div><div>  When I tick the BULID_SHARED_LIBS and compile IGSTK in CodeBlocks(10.05),</div><div>  it may end in multiple "undefined reference to", as follow.</div>
<div><div><br></div><div>-------------- build: igstkTests in IGSTK ---------------</div><div><br></div><div>Using makefile: Makefile</div><div>Linking CXX shared library ..\..\bin\libSceneGraphVisualization.dll</div><div>
CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x232): undefined reference to `igstk::CoordinateSystemTransformToResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x260): undefined reference to `igstk::CoordinateSystemTransformToResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x310): undefined reference to `igstk::CoordinateSystemTransformToResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x336): undefined reference to `igstk::CoordinateSystemTransformToResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x35c): undefined reference to `igstk::CoordinateSystemTransformToResult::GetCommonAncestor() const'</div><div>
CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3aa): undefined reference to `igstk::CoordinateSystemTransformToResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3bc): undefined reference to `igstk::CoordinateSystemTransformToResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3cf): undefined reference to `igstk::CoordinateSystemTransformToResult::GetCommonAncestor() const'</div><div>
CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xc11): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xc5f): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xda8): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xe13): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xed4): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xf15): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xf31): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0xf9c): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1077): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetTransform() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1a97): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1b03): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1b1f): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1b8a): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1cc2): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1d11): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1d78): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1dd7): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1df3): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1e5e): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x1f86): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2383): undefined reference to `igstk::CoordinateSystemSetTransformResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2a3a): undefined reference to `igstk::CoordinateSystemTransformToResult::GetCommonAncestor() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2a4d): undefined reference to `igstk::CoordinateSystemTransformToResult::GetSource() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2a63): undefined reference to `igstk::CoordinateSystemTransformToResult::GetCommonAncestor() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2ac9): undefined reference to `igstk::CoordinateSystemTransformToResult::GetDestination() const'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x2adf): undefined reference to `igstk::CoordinateSystemTransformToResult::GetCommonAncestor() const'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3a8c): undefined reference to `_imp___ZN3itk15ExceptionObjectC1Ev'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3aaa): undefined reference to `_imp___ZN3itk15ExceptionObject14SetDescriptionEPKc'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3adc): undefined reference to `_imp___ZN3itk15ExceptionObjectC1ERKS0_'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3ae1): undefined reference to `_imp___ZN3itk15ExceptionObjectD1Ev'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraph.cxx.obj):igstkSceneGraph.cxx:(.text+0x3d49): undefined reference to `_imp___ZN3itk15ExceptionObjectD1Ev'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x77): undefined reference to `igstk::Transform::~Transform()'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0xcf): undefined reference to `igstk::Transform::~Transform()'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x11f): undefined reference to `igstk::Transform::~Transform()'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x175): undefined reference to `igstk::Transform::Transform()'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x1f4): undefined reference to `igstk::Transform::~Transform()'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x255): undefined reference to `igstk::Transform::Transform()'</div><div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text+0x2d4): undefined reference to `igstk::Transform::~Transform()'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text$_ZN5igstk14SceneGraphNode18SetParentTransformERKNS_9TransformE[igstk::SceneGraphNode::SetParentTransform(igstk::Transform const&)]+0x19): undefined reference to `igstk::Transform::operator!=(igstk::Transform const&)'</div>
<div>CMakeFiles\SceneGraphVisualization.dir/objects.a(igstkSceneGraphNode.cxx.obj):igstkSceneGraphNode.cxx:(.text$_ZN5igstk14SceneGraphNode18SetParentTransformERKNS_9TransformE[igstk::SceneGraphNode::SetParentTransform(igstk::Transform const&)]+0x35): undefined reference to `igstk::Transform::operator=(igstk::Transform const&)'</div>
<div>collect2: ld returned 1 exit status</div><div>mingw32-make.exe[3]: *** [bin/libSceneGraphVisualization.dll] Error 1</div><div>mingw32-make.exe[2]: *** [Utilities/SceneGraphVisualization/CMakeFiles/SceneGraphVisualization.dir/all] Error 2</div>
<div>mingw32-make.exe[1]: *** [Testing/CMakeFiles/igstkTests.dir/rule] Error 2</div><div>Creating library file: ..\..\bin\libSceneGraphVisualization.dll.a</div><div>mingw32-make.exe: *** [igstkTests] Error 2</div><div>过程结束,其状态为 2 (0 分钟, 3 秒)</div>
<div>48 个错误, 0 个警告</div><div> </div></div><div><br></div><div>  </div>