openCV and ruby

Discussion in 'Ruby' started by Mehdi Karamnejad, Apr 4, 2010.

  1. I've installed OpenCV image processing library and when I try to install
    opencv gem(using gem install opencv) for ruby I get the following error
    when building the library

    iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::rb_initialize(int,
    VALUE*, VALUE)’:
    iplimage.cpp:91: error: ‘cvCvToIplDepth’ was not declared in this scope
    iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::new_object(int,
    int, int)’:
    iplimage.cpp:228: error: ‘cvCvToIplDepth’ was not declared in this scope
    iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::new_object(CvSize,
    int)’:
    iplimage.cpp:234: error: ‘cvCvToIplDepth’ was not declared in this scope

    has anybody managed to use opencv for ruby?
    --
    Posted via http://www.ruby-forum.com/.
     
    Mehdi Karamnejad, Apr 4, 2010
    #1
    1. Advertising

  2. Mehdi Karamnejad

    me Guest

    Mehdi Karamnejad wrote:
    > I've installed OpenCV image processing library and when I try to install
    > opencv gem(using gem install opencv) for ruby I get the following error
    > when building the library
    >
    > iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::rb_initialize(int,
    > VALUE*, VALUE)’:
    > iplimage.cpp:91: error: ‘cvCvToIplDepth’ was not declared in this scope
    > iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::new_object(int,
    > int, int)’:
    > iplimage.cpp:228: error: ‘cvCvToIplDepth’ was not declared in this scope
    > iplimage.cpp: In function ‘VALUE mOpenCV::cIplImage::new_object(CvSize,
    > int)’:
    > iplimage.cpp:234: error: ‘cvCvToIplDepth’ was not declared in this scope
    >
    > has anybody managed to use opencv for ruby?
    >

    Try this patch:
    http://blog.rikiji.it/me/entry/17
     
    me, Apr 16, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Claudio Grondi

    Python OpenCV wrapper

    Claudio Grondi, Sep 6, 2005, in forum: Python
    Replies:
    0
    Views:
    7,507
    Claudio Grondi
    Sep 6, 2005
  2. aneuryzma

    openCV and ogre3d

    aneuryzma, Jun 20, 2008, in forum: C++
    Replies:
    1
    Views:
    456
    red floyd
    Jun 20, 2008
  3. Sam Berry

    OpenCV and WIFI IP Camera Issue

    Sam Berry, Feb 14, 2013, in forum: Python
    Replies:
    1
    Views:
    189
  4. Sam Berry

    Threading within a GUI and OpenCV

    Sam Berry, Apr 3, 2013, in forum: Python
    Replies:
    0
    Views:
    191
    Sam Berry
    Apr 3, 2013
  5. Varsha Holla

    image processing in python and opencv

    Varsha Holla, Mar 9, 2014, in forum: Python
    Replies:
    2
    Views:
    140
    Mark H. Harris
    Mar 10, 2014
Loading...

Share This Page