[vtkusers] undefinied references while compiling Vtk-5

David Cole david.cole at kitware.com
Fri Dec 2 08:06:49 EST 2005


I'll bet you did this checkout sometime on the 29th or early on the 
30th... :-)

The zRel50 dashboards reflect this breakage here: 
http://www.vtk.org/Testing/Dashboard/20051130-0300-Nightly/Dashboard.html

Just update again. The fix was checked in on Nov. 30th.


David


Jens wrote:

>Hi
>Linking the executable "vtk" I get undefined references in libvtkCommonTCL.so:
> `vtksys::SystemToolsManager::SystemToolsManager[in-charge]()'
> `vtksys::SystemToolsManager::~SystemToolsManager [in-charge]()'
> `vtksys::SystemTools::CollapseFullPath(char const*)'
>
>It must be a problem with "Utilities/kwsys" and "Utilities/vtksys" because
>"Utilities/vtksys/SystemTools.hxx" defines the functions, which are 
>implemented in "Utilities/kwsys/SystemTools.cxx".
>
>I cannot figure out why the implementation is not part of libvtkCommonTCL.so.
>Any ideas out there ?
>
>	Greetings
>		Jens
>
>I´m using the Vtk-5 ("cvs 
>-d :pserver:anonymous at public.kitware.com:2401/cvsroot/VTK checkout -r VTK-5-0 
>-P -d VTK-5 VTK")
>
>This is the complete error-message:
>-----------------------------------
>Linking CXX executable bin/vtk
>/usr/local/bin/cmake -E remove -f bin/vtk
>c++    -Wno-deprecated  -fPIC   
>"Wrapping/Tcl/CMakeFiles/vtk.dir/vtkTkAppInit.o"   -o bin/vtk -rdynamic 
>-L/tmp/Vtk/VTK-5/bin -L/usr/X11R6/lib -lvtkCommonTCL -lvtkFilteringTCL 
>-lvtkGraphicsTCL -lvtkImagingTCL -lvtkIOTCL -lvtkRenderingTCL 
>-lvtkVolumeRenderingTCL -lvtkHybridTCL -lvtkWidgetsTCL -lvtkVolumeRendering 
>-lvtkWidgets -lvtkHybridTCL -lvtkHybrid -lvtkexoIIc -lvtkNetCDF 
>-lvtkRenderingTCL -lvtkRendering -lvtkftgl -lfreetype -lGL -lXt -lSM -lICE 
>-lSM -lICE -lSM -lICE -lX11 -lXext -lX11 -lXext -lX11 -lXext -lvtkGraphicsTCL 
>-lvtkGraphics -lvtkImagingTCL -lvtkImaging -ltk8.4 -lvtkIOTCL -lvtkIO 
>-lvtkDICOMParser -lpng -lz -lz -ljpeg -ltiff -lvtkexpat -lvtkMPEG2Encode 
>-lvtkFilteringTCL -lvtkFiltering -lvtkCommonTCL -lvtkCommon -lpthread -ldl 
>-lm -ltcl8.4 -lm
>/tmp/Vtk/VTK-5/bin/libvtkCommonTCL.so: undefined reference to 
>`vtksys::SystemToolsManager::SystemToolsManager[in-charge]()'
>/tmp/Vtk/VTK-5/bin/libvtkCommonTCL.so: undefined reference to 
>`vtksys::SystemToolsManager::~SystemToolsManager [in-charge]()'
>/tmp/Vtk/VTK-5/bin/libvtkCommonTCL.so: undefined reference to 
>`vtksys::SystemTools::CollapseFullPath(char const*)'
>collect2: ld returned 1 exit status
>make[2]: *** [bin/vtk] Fehler 1
>make[2]: Leaving directory `/tmp/Vtk/VTK-5'
>make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Fehler 2
>make[1]: Leaving directory `/tmp/Vtk/VTK-5'
>make: *** [all] Fehler 2
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>  
>



More information about the vtkusers mailing list