Ask Your Question

yyyc15's profile - activity

2017-01-26 14:04:08 -0600 commented question Trouble Installing OpenCV on a particular machine

Ahh thanks a lot! You're right, VTK isn't needed for what I want to do. Thanks!

2017-01-26 00:38:42 -0600 asked a question Trouble Installing OpenCV on a particular machine

I haven't had trouble installing OpenCV before, but this time I am having some trouble. Any help will be much appreciated! The error is such:

/home/user/opencv/build/modules/viz/precomp.hpp:56:31: fatal error: vtkAppendPolyData.h: No such file or directory compilation terminated. modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/build.make:62: recipe for target 'modules/viz/precomp.hpp.gch/opencv_viz_Release.gch' failed make[2]: * [modules/viz/precomp.hpp.gch/opencv_viz_Release.gch] Error 1 CMakeFiles/Makefile2:3388: recipe for target 'modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all' failed make[1]: [modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: ** [all] Error 2

I have installed the libvtk library (sudo apt-get install libvtk6.2 libvtk-java and I also tried installing vtk