Em 27-01-2016 23:23, DJ Lucas escreveu:
> 
> 
> 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
> 
> 

Thanks, DJ.

Fixed at r16865.

Patch can also be found at
https://git.videolan.org/?p=vlc.git;a=patch;h=b82416d7000a993b33e903095a590fe32212a85e

Don't know if I have something wrong here, but I needed to include one
more fix, for

{{{
/usr/bin/ld: cannot find -lippicv
}}}

-- 
[]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