Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

May I have 2 OpenCV versions on Ubuntu?

Using the two pages:

I have created two folders: build249 and build300. In each I have build the 2 versions. The idea of doing this was to have two versions and just change a line in my CMakeLists.txt file, for switching between the versions:

find_package(OpenCV 2.4.9)

or

find_package(OpenCV 3.0.0)

This way I can test the 3.0.0 beta version and see the differences.

My problem is that when I have changed back to 2.4.9, it cannot find anymore the opencv_nonfree, so I am asking may I have the two versions of OpenCV in paralel and switch between them when I want?