Hi, I'm trying to build OpenCV v3.0.0-rc1 on Ubuntu 14.10. However, I receive the following regarding VTK when I do: cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON ..
FIRST MENTION: -- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.1/VTKTargets.cmake" but not all the files it references.
-- VTK support is disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.6.1.0 + Qt4
SECOND MENTION: -- GUI: -- QT 5.x: YES (ver 5.3.0) -- QT OpenGL support: YES (Qt5::OpenGL 5.3.0) -- OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so) -- VTK support: NO
THIRD MENTION: -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
FORCE_VTK
So qmake exists fine but I assume these errors shouldn't be there?
KR, Asgaro