Build OpenCV 3.1 with VTK 7.0

asked 2016-10-06 22:39:00 -0500

NeoDreamer gravatar image

I try to build OpenCV 3.2 with VTK 7.0 on Visual Studio 2015. The building was successfully without BUILD_opencv_world. I got the error message when I select BUILD_opencv_world and BUILD_opencv_viz option.

Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "OpenCVModules"
Generating done

How to fix the problem.

edit retag flag offensive close merge delete

Comments

The error hints at the fact that you want the contrib repositories to be built also, and that it does not find the modules defined at the path they should be. Did you configure your build correctly? Please provide the full CMAKE output.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-10-07 04:29:01 -0500 )edit