[vtkusers] VTK4.0 in VTK6.1

luoxiayizhi luoxiayizhi at 163.com
Thu Apr 16 02:59:10 EDT 2015


Hello,
    I have downloaded a VTK project online. It is building with VTK4.0 but I am using VTK6.1. When I cmake , there is an error----
CMake Error at CMakeCommon.txt:4 (VTK_MAKE_INSTANTIATOR3):
Unknown CMake command "VTK_MAKE_INSTANTIATOR3".
Call Stack (most recent call first):
hierarchicalspatialhashing_vtk/CMakeLists.txt:54 (INCLUDE)
I try to delete 
#SET(VTK_USE_INSTANTIATOR_NEW 1)
VTK_MAKE_INSTANTIATOR3(
    "${LIBRARY_NAME}Instantiator"
    INSTANTIATOR_SOURCES
    "${SOURCES}"
    VTK_EXPORT
    ${PROJECT_BINARY_DIR}
    ""
)
from camkecommon.txt in the package, after cmake ,I run the project in VS2012, but it failed again, and there are many errors like cannot find LINK : fatal error LNK1104: cannot open file“vtkFiltering.lib”.
How can I solve this problem?

Bests,
Crystal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150416/8682227c/attachment.html>


More information about the vtkusers mailing list