<div dir="ltr">You want to enable VTK_Group_Rendering.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 8, 2015 at 2:22 AM, Szymek_10 <span dir="ltr"><<a href="mailto:sz.zwolan@gmail.com" target="_blank">sz.zwolan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dears,<br>
<br>
I would like to start using VTK library but unfortunately I have big problem<br>
at begining.<br>
<br>
I want to compaile this example with DICOM viewer:<br>
<br>
<a href="http://web.mit.edu/16.225/dv/VTK/Examples/ImageProcessing/Cxx/" target="_blank">http://web.mit.edu/16.225/dv/VTK/Examples/ImageProcessing/Cxx/</a><br>
<br>
But there is an error during compiling CMakeLists error with missing<br>
VTKRendering and VTKTestingRendering modules (photo attached<br>
<a href="http://postimg.org/image/p2u9lotid/" target="_blank">http://postimg.org/image/p2u9lotid/</a>)<br>
<br>
<br>
*CMakeLists.txt :*<br>
<br>
/PROJECT(ImageProcessing)<br>
<br>
IF(NOT VTK_BINARY_DIR)<br>
FIND_PACKAGE(VTK REQUIRED)<br>
*IF(NOT VTK_USE_RENDERING)<br>
  MESSAGE(FATAL_ERROR "Example ${PROJECT_NAME} requires<br>
VTK_USE_RENDERING.")*<br>
ENDIF(NOT VTK_USE_RENDERING)<br>
INCLUDE(${VTK_USE_FILE})<br>
ENDIF(NOT VTK_BINARY_DIR)<br>
<br>
ADD_EXECUTABLE(ImageSlicing ImageSlicing.cxx)<br>
TARGET_LINK_LIBRARIES(ImageSlicing vtkRendering vtkImaging vtkIO)<br>
<br>
######## Regression Testing ########<br>
SET(KIT ImageProcessingExamples)<br>
SET(MyTests TestImageSlicing.cxx)<br>
<br>
INCLUDE(vtkTestingObjectFactory)<br>
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx<br>
               ${MyTests})<br>
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkRendering vtkIO)<br>
<br>
ADD_TEST(${KIT}-ImageSlicing ${EXECUTABLE_OUTPUT_PATH}/${KIT}CxxTests<br>
  TestImageSlicing ${VTK_DATA_ROOT}/Data/headsq/quarter)/<br>
<br>
What i found out is that in VTK version greater than 6.0.0 there is no<br>
*USE_VTK_RENDERING* entry in CMake which i should select during compiling<br>
process. It was replaced with more 'rendering' modules (CMake photo attached<br>
<a href="http://postimg.org/image/4rn6tpxq3/" target="_blank">http://postimg.org/image/4rn6tpxq3/</a>) but which I should use? Which module is<br>
equivalent to USE_VTK_RENDERING option?<br>
<br>
I am using Visual Studio 2013 with CMake 3.2.2 version and newest VTK 6.2. I<br>
tried to install VS2010 and compaile it in CMake 2.8 with VTK 5.10.1 version<br>
but there is too many incompatibilitie errors.<br>
<br>
After few days of trying to make it right it seems to be ungrateful library<br>
which I used to use. I hope that it is a quite easy mistake from me becasue<br>
I am really stuck..<br>
<br>
I will be grateful for any help!<br>
<br>
Thank you in advance!<br>
<br>
Sz<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/CMake-3-2-2-VTK-6-2-VS-2013-missing-USE-VTK-Rendering-tp5731824.html" target="_blank">http://vtk.1045678.n5.nabble.com/CMake-3-2-2-VTK-6-2-VS-2013-missing-USE-VTK-Rendering-tp5731824.html</a><br>
Sent from the VTK - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>