[vtkusers] Compilation fails on libvtkParallel.so.5.2.0 unresolved reference

Robert Kubrick robertkubrick at gmail.com
Sun Aug 24 17:07:44 EDT 2008


Greetings,
My compilation on Ubuntu fails, this is my setup:

# uname -a
Linux wlaptop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008  
i686 GNU/Linux

# cmake -L .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ag/Development/VTK
-- Cache values
BUILD_EXAMPLES:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr
VTK_DATA_ROOT:PATH=VTK_DATA_ROOT-NOTFOUND
VTK_USE_PARALLEL:BOOL=ON
VTK_USE_RENDERING:BOOL=OFF
VTK_WRAP_JAVA:BOOL=OFF
VTK_WRAP_PYTHON:BOOL=OFF
VTK_WRAP_TCL:BOOL=ON

# make
...
...
[ 98%] Building CXX object Parallel/CMakeFiles/vtkParallelTCL.dir/ 
vtkParallelTCLInit.o
Linking CXX shared library ../bin/libvtkParallelTCL.so
[ 98%] Built target vtkParallelTCL
Scanning dependencies of target vtk
[ 98%] Building CXX object Wrapping/Tcl/CMakeFiles/vtk.dir/ 
vtkTkAppInit.o
Linking CXX executable ../../bin/vtk
../../bin/libvtkParallel.so.5.2.0: undefined reference to  
`vtkPipelineSize::New()'
../../bin/libvtkParallel.so.5.2.0: undefined reference to  
`vtkPipelineSize::GetEstimatedSize(vtkAlgorithm*, int, int)'
collect2: ld returned 1 exit status
make[2]: *** [bin/vtk] Error 1
make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2
make: *** [all] Error 2

Would appreciate any help. I am compiling with VTK_USE_TK=ON to  
provide support for KWWidgets. Had to disable VTK_USE_RENDERING  
because was getting a link error. I would like to use the parallel  
features of VTK, so I do need VTK_USE_PARALLEL set.




More information about the vtkusers mailing list