From 86cb98e66bc9a26f0ca12b84c255581b88fb4dec Mon Sep 17 00:00:00 2001 From: Frank Schumacher Date: Tue, 31 May 2011 11:03:31 +0200 Subject: [PATCH] Changed README for MacPorts on OS X --- README.rdoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rdoc b/README.rdoc index 8256b92..dc52ad0 100644 --- a/README.rdoc +++ b/README.rdoc @@ -49,6 +49,16 @@ You can also add ruby-opencv in your Gemfile: echo -e "\n"'gem "opencv", :git => "https://github.com/ser1zw/ruby-opencv"' >> Gemfile bundle install # or bundle update +=== Installing ruby-opencv with all dependencies on Mac OS X using macports + + sudo port install ffcall + sudo port install opencv + +Follow INSTALLATION but use this command when compiling the gem: + ruby extconf.rb --with-opencv-lib=/opt/local/lib --with-opencv-include=/opt/local/include/opencv2 + make + make install + == SYNOPSIS: Once installed it is possible to show images via GUI Window.