Prev: Mocking file downloads
Next: $SAFE=0 for setuid?
From: Mehdi Karamnejad on 4 Apr 2010 03:49 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/.
From: me on 16 Apr 2010 04:21 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
|
Pages: 1 Prev: Mocking file downloads Next: $SAFE=0 for setuid? |