Created
February 11, 2013 07:54
-
-
Save agarie/4753170 to your computer and use it in GitHub Desktop.
Installing ruby-opencv on OS X.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Homebrew and be happy. | |
brew update | |
brew install opencv | |
# Give the correct pathnames. Of course, `2.4.3` is the current version at this time, change it accordingly. | |
gem install ruby-opencv -- --with-opencv-lib=/usr/local/Cellar/opencv/2.4.3/lib \ | |
--with-opencv-include=/usr/local/Cellar/opencv/2.4.3/include/opencv \ | |
--with-opencv-include=/usr/local/Cellar/opencv/2.4.3/include/opencv2 |
There seems to be issuing installing the ruby-opencv with ruby 2.6.2. Installing on 2.5.3 seemed to work fine. Cheers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
homebrew opencv now defaults to opencv2. For those visiting here, the following works at the time of writing: