How to use Bazel to build project uses OpenCV [closed]
There are a couple of options. The easiest way is probably to install locally in the way the OpenCV site recommends: git clone https://github.com/Itseez/opencv.git cd opencv/ mkdir build install cd build cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/path/to/opencv/install .. make install Then add the following to your WORKSPACE file: new_local_repository( name = “opencv”, path = “/path/to/opencv/install”, build_file … Read more