Error while compiling

This forum is about all development around libVLC.
asqz
New Cone
New Cone
Posts: 4
Joined: 25 Jun 2013 15:34

Error while compiling

Postby asqz » 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 :

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

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Error while compiling

Postby edwardw » 05 Jul 2013 03:36

Do you need the opencv filter for something? If not, just pass

Code: Select all

--disable-opencv
to configure.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests