Error:

{{{
Making all in video_filter
make[4]: Entering directory '/tmp/vlc-2.2.1/modules/video_filter'
make  all-am
make[5]: Entering directory '/tmp/vlc-2.2.1/modules/video_filter'
  CXX      libopencv_example_plugin_la-opencv_example.lo
opencv_example.cpp: In function ‘picture_t* Filter(filter_t*, picture_t*)’:
opencv_example.cpp:197:58: error: ‘CV_RGB’ was not declared in this scope
             cvRectangle( p_img[0], pt1, pt2, CV_RGB(0,0,0), 3, 8, 0 );
                                                          ^
opencv_example.cpp:197:69: error: ‘cvRectangle’ was not declared in this
scope
             cvRectangle( p_img[0], pt1, pt2, CV_RGB(0,0,0), 3, 8, 0 );
                                                                     ^
opencv_example.cpp:201:57: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
             p_sys->event_info.p_region[i].p_description = "Face Detected";
                                                         ^
Makefile:3054: recipe for target
'libopencv_example_plugin_la-opencv_example.lo' failed
make[5]: *** [libopencv_example_plugin_la-opencv_example.lo] Error 1
make[5]: Leaving directory '/tmp/vlc-2.2.1/modules/video_filter'
Makefile:2043: recipe for target 'all' failed
}}}


Successful build using

./configure --prefix=/usr --enable-opencv=no

Haven't tried hard to find a solution. Have not tried using opencv-2.4.x.

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to