Error while compiling
Posted: 01 Jul 2013 12:51
Hi,
I am trying to compile libvlc. I followed the steps :
git clone https://code.google.com/p/vc-libvlc/
sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential
./bootstrap
./configure --enable-debug
make
But I get the following error :
I am trying to compile libvlc. I followed the steps :
git clone https://code.google.com/p/vc-libvlc/
sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential
./bootstrap
./configure --enable-debug
make
But I get the following error :
Code: Select all
make[4]: Entering directory `/home/exploit/librairies/vlc/modules/video_filter'
CXX libopencv_example_plugin_la-opencv_example.lo
opencv_example.cpp: In function ‘void CloseFilter(vlc_object_t*)’:
opencv_example.cpp:132:59: error: ‘cvReleaseHaarClassifierCascade’ was not declared in this scope
opencv_example.cpp: In function ‘picture_t* Filter(filter_t*, picture_t*)’:
opencv_example.cpp:175:45: error: ‘CV_HAAR_DO_CANNY_PRUNING’ was not declared in this scope
opencv_example.cpp:176:60: error: ‘cvHaarDetectObjects’ was not declared in this scope
opencv_example.cpp:201:59: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
make[4]: *** [libopencv_example_plugin_la-opencv_example.lo] Error 1
make[4]: Leaving directory `/home/exploit/librairies/vlc/modules/video_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/exploit/librairies/vlc/modules/video_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/exploit/librairies/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/exploit/librairies/vlc'
make: *** [all] Error 2