On 1/22/2016 1:45 PM, Fernando de Oliveira wrote:
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";
^
Here is a copy, not sure where the real one is...
http://fossies.org/linux/privat/buildroot-2015.11.1.tar.gz/buildroot-2015.11.1/package/vlc/0009-opencv_example-add-missing-include-statements.patch?m=t
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page