I need to install OpenCV 2.4 on my Mac for a new c++ project, but I already have OpenCV 3.1 installed for my old c++ projects with Homebrew.
Are there any ways to manage the use of two version of OpenCVs on a Mac for c++ projects? I understand for Python programming you can have multiple environments by using either Anaconda Python or virtualenv, but not sure for C++ programming how we can handle the multiple environment problems.
Any suggestions and comments ? Thanks in advance.