openCV and ruby

  • Thread starter Mehdi Karamnejad
  • Start date
M

Mehdi Karamnejad

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?
 
M

me

Mehdi said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top