Ask Your Question

Revision history [back]

step 1. you should have vtk installed like

 Directory of C:\Program Files\VTK

29.01.2018  11:25    <DIR>          .
29.01.2018  11:25    <DIR>          ..
29.01.2018  11:25    <DIR>          bin
29.01.2018  11:25    <DIR>          cmake
29.01.2018  11:24    <DIR>          include
29.01.2018  11:25    <DIR>          lib
29.01.2018  11:24    <DIR>          share

step 1. cmake

image description

step 2. Visual Studio ( Build / Install )

image description

you should have vtk installed like

 Directory of C:\Program Files\VTK

29.01.2018  11:25    <DIR>          .
29.01.2018  11:25    <DIR>          ..
29.01.2018  11:25    <DIR>          bin
29.01.2018  11:25    <DIR>          cmake
29.01.2018  11:24    <DIR>          include
29.01.2018  11:25    <DIR>          lib
29.01.2018  11:24    <DIR>          share

step 1. cmake

image descriptioncmake screenshot

step 2. Visual Studio ( Build / Install )

image descriptionVisual Studioscreenshot

you should have vtk installed like

 Directory of C:\Program Files\VTK

29.01.2018  11:25    <DIR>          .
29.01.2018  11:25    <DIR>          ..
29.01.2018  11:25    <DIR>          bin
29.01.2018  11:25    <DIR>          cmake
29.01.2018  11:24    <DIR>          include
29.01.2018  11:25    <DIR>          lib
29.01.2018  11:24    <DIR>          share

step 1. cmake

cmake screenshot

step 2. Visual Studio ( Build / Install )

Visual Studioscreenshot

you should have vtk installed like

 Directory of C:\Program Files\VTK

29.01.2018  11:25    <DIR>          .
29.01.2018  11:25    <DIR>          ..
29.01.2018  11:25    <DIR>          bin
29.01.2018  11:25    <DIR>          cmake
29.01.2018  11:24    <DIR>          include
29.01.2018  11:25    <DIR>          lib
29.01.2018  11:24    <DIR>          share

step 3. cmake ( OpenCV )

cmake finds VTK_DIR like C:/Program Files/VTK/lib/cmake/vtk-8.1

you should see viz in the list below when you press configure

  OpenCV modules:
    To be built:                 ...calib3d ccalib core dnn dnn_objdetect  ....viz ...