[vtkusers] undefinied references while compiling Vtk-5
Jens
jens-devel at gmx.de
Fri Dec 2 06:56:24 EST 2005
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
More information about the vtkusers
mailing list