How to Choose which OpenCV to use in CMakeLists.txt?

asked 2017-04-25 04:11:46 -0600

Tao_ gravatar image

updated 2017-04-25 04:12:27 -0600

I am using ROS kinetic on ubuntu 16.04, and it has opencv 3.2. As I need to use functions in opencv's extra modules, I installed opencv from source again. Now I have a c++ project and I want to use the opencv I installed from source instead of the one that comes with ROS. As both have 3.2 version, I don't know how to select which opencv to use.

edit retag flag offensive close merge delete