Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to build viz module with VTK 9.0.1?

$
0
0
Hi all. I would like to build OpenCV with viz module using VTK 9.0.1. Environments: OS: Windows 10 x64 IDE: Visual Studio 2015 SDK: OpenCV 4.4.0, VTK 9.0.1 CMake: 3.17.0-rc1 I referred this link: https://answers.opencv.org/question/183404/what-are-all-the-requirement-for-viz-module-installation/ I tried as below procedure : //VTK 1. Download VTK-9.0.1.tar.gz file and unzip to 'vtk_sources' folder. 2. Create 'vtk_bin' folder. 3. Run CMake program as a administrator and set the 'vtk_sources' path to 'source code', 'vtk_bin' path to 'binaries'. 4. Click the 'Configure' button and select 'Visual Studio 2015', 'x64'. 5. Select VTK default option and click the 'Generate' button. 6. Run VTK.sln in the vtk_bin folder as a administrator. 7. Build 'ALL_BUILD' and 'INSTALL'. 8. Succeeded to create a library and it works well. //OpenCV 9. Download opencv-4.4.0-vc14_vc15.exe file and run. 10. Copy the 'sources' file to 'opencv_sources' folder. 11. Create 'opencv_bin' folder. 12. Run CMake program as a administrator and set the 'opencv_sources' path to 'source code', 'opencv_bin' path to 'binaries'. 13. Click the 'Configure' button and select 'Visual Studio 2015', 'x64'. 14. Set the VTK_DIR to 'vtk_bin' folder. 15. Check the 'WITH_VTK'. 16. Uncheck the 'BUILD_opencv_world'. 17. Click the 'Generate' button. 18. Run OpenCV.sln in the opencv_bin folder as a administrator. 19. Build 'ALL_BUILD' and 'INSTALL'. 20. Succeeded to create a library and it works well. 21. But 'include/opencv2/' has no viz.hpp file. I can't find the 'viz' file. I have been trying to build the OpenCV with viz for a week. But I couldn't find any solution. Could you please help me? Thank you.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>