I am on mac and used brew to install opencv3. I was having opencv3/3.0.0 . Today, I updated it and got version 3.1.0_1.
However, this update is breaking everything and when I try to use VideoCapture to read frames and use waitKey function it breaks by causing following:
2016-02-26 23:25:16.846 tracking[99869:1026824] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fab5a601240'
So, now I am trying to switch back to the following version, but I am not sure how. I used following:
brew search opencv
However, this wont give me versions like opencv3/3.0.0
In the Cellar, I have only
Versions available: 3.1.0, 3.1.0_1
So, I cannot use
brew switch "version"
Could anyone please suggest me a way of switching back to the previous version?