[vtkusers] vtk libraries, undefined references, tcl

jmerkow jmerkow at gmail.com
Thu Jan 23 15:18:46 EST 2014


I have a c++ program with a tcl front end.  I am moving the project to CMake
but I am having some trouble getting the VTK libraries linked properly.

Most of links correctly, but the tcl parts don't seem to get properly
linked.

Here is an example:
undefined reference to `vtkTclGetPointerFromObject(char const*, char const*,
Tcl_Interp*, int&)'

Which I believe is contained libvtkCommonCoreTCL.  There are a number of
other undef references, all related to VTK and Tcl.  I checked the contents
of vtk_libraries and libvtkCommonCoreTCL is not included. It appears that
the vtk tcl libs aren't being included in ${VTK_LIBRARIES}. Is there an
additional step to add these libraries in my cmake project that I'm missing?




--
View this message in context: http://vtk.1045678.n5.nabble.com/vtk-libraries-undefined-references-tcl-tp5725579.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list