System information (version)
- OpenCV == 4.5.2-openvino
- opencv_contrib == 4.5.2
- opencv_extra == 4.5.2
- Operating System / Platform => Ubuntu 18.04
- Compiler => g++(8.4)
- VTK == 9.0.1
Description
Trying to build OpenCV 4.5.2 with VTK=ON. cmake configuration is successful but module “viz” is causing issues while make.
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/graph.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_accessor.cpp.o
[ 2%] Linking C static library ../lib/libippiw.a
Note: Class detail_GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions)
Bases: cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder
Only the first base class will be used
Generator error: unable to resolve base viz_Widget3D for viz_WMesh
modules/python_bindings_generator/CMakeFiles/gen_opencv_python_source.dir/build.make:489: recipe for target 'modules/python_bindings_generator/pyopencv_generated_enums.h' failed
make[2]: *** [modules/python_bindings_generator/pyopencv_generated_enums.h] Error 255
CMakeFiles/Makefile2:7427: recipe for target 'modules/python_bindings_generator/CMakeFiles/gen_opencv_python_source.dir/all' failed
make[1]: *** [modules/python_bindings_generator/CMakeFiles/gen_opencv_python_source.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor.cpp.o
[ 2%] Built target ippiw
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor_ref.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor_view.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/metadata.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/metatypes.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/node.cpp.o
[ 2%] Linking CXX static library ../../../../../../lib/libnumeric.a
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/passes/communications.cpp.o
[ 2%] Built target numeric
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/search.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/subgraphs.cpp.o
[ 2%] Building CXX object modules/CMakeFiles/ade.dir/__/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o
[ 3%] Linking CXX static library ../lib/libade.a
[ 3%] Built target ade
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
----------------------------------------
[ ERROR(2) ]
@@@@ BLD: { elapsed: 4.654, user: 18.453, system: 1.648, percent: 431.90 } @@@@