[vtk-developers] CMake 3.2.2 + VTK 6.2 + VS 2013 - missing USE_VTK_Rendering

Robert Maynard robert.maynard at kitware.com
Fri May 8 10:19:49 EDT 2015


You need to keep is selected. The real issue is that the library names
between VTK 5 and 6 have changed.

You should read the full build migration guide at:
http://www.vtk.org/Wiki/VTK/Build_System_Migration

But I believe the following should work for you:

project(ImageProcessing)

find_package(VTK REQUIRED NO_MODULE)
include(${VTK_USE_FILE})

add_executable(ImageSlicing ImageSlicing.cxx)
target_link_libraries(ImageSlicing ${VTK_LIBRARIES})

On Fri, May 8, 2015 at 10:04 AM, Szymek_10 <sz.zwolan at gmail.com> wrote:

> VTK_GROUP_RENDERING was selected automaticly. Should I unselect this?
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/CMake-3-2-2-VTK-6-2-VS-2013-missing-USE-VTK-Rendering-tp5731824p5731839.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150508/b059fd02/attachment.html>


More information about the vtk-developers mailing list