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:
parent
fcc66a0180
commit
d37cefb3aa
9 changed files with 5516 additions and 5495 deletions
12
README.rdoc
12
README.rdoc
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue