1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

fixed for installing on Windows (mswin32)

This commit is contained in:
ser1zw 2011-11-28 08:31:12 +09:00
parent fcc66a0180
commit d37cefb3aa
9 changed files with 5516 additions and 5495 deletions

View file

@ -33,6 +33,7 @@ See http://www.haible.de/bruno/packages-ffcall.html
== INSTALLATION:
=== Install Ruby/OpenCV manually
==== Unix/Linux/Mac
$ git clone git://github.com/ser1zw/ruby-opencv.git
$ cd ruby-opencv
@ -41,6 +42,17 @@ See http://www.haible.de/bruno/packages-ffcall.html
$ make
$ make install
==== Windows (mswin32)
Use "nmake" instead of "make".
$ git clone git://github.com/ser1zw/ruby-opencv.git
$ cd ruby-opencv
$ git checkout master # for OpenCV 2.3 or later. To use OpenCV 2.2, type "git checkout OpenCV_2.2" instead
$ ruby extconf.rb --with-opencv-dir=/path/to/opencvdir
$ nmake
$ nmake install
*/path/to/opencvdir* is the path you installs OpenCV library (default: /usr/local).
For example, if you install OpenCV library to */opt/local/* like: