build error!

This forum is about all development around libVLC.
brickzj
New Cone
New Cone
Posts: 3
Joined: 22 Sep 2015 13:40

build error!

Postby brickzj » 22 Sep 2015 13:56

Hi,all:
I download vlc2.2.1 source code and try to build it using belowing command:
./configure
make
During the make step, one error occured:
"codec/avcodec/video.c:438:9: error: implicit declaration of function 'avcodec_free_frame' [-Werror=implicit-function-declaration]"
My os is ubuntu tls 12.04 .4 LTS and yesterday i successfully built VLC2.1.1 in this machine.
Can anyone kindly tell me how to fix the error?
I ever guessed maybe this error is due to that i have installed vlc2.1.1, so i try to remvoe vlc2.1.1 using following command referring http://askubuntu.com/questions/572865/h ... vlc-player:
sudo apt-get remove vlc
sudo apt-get remove browser-plugin-vlc
sudo apt-get purge vlc
The above command executed successfully but the vlc application still exists and can be opened.
Can anyone kindly tell me how to remove vlc2.1.1?

In summary, I have two question:
1,How to remvoe vlc2.1.1?
2,How to build vlc2.2.1?

brickzj
New Cone
New Cone
Posts: 3
Joined: 22 Sep 2015 13:40

Re: build error!

Postby brickzj » 22 Sep 2015 14:19

I build vlc2.1.1 in the same directory as yesterday, it still build successfully.
When i move the vlc2.1.1 directory to another different path and directory, the make error occured with following info:
"src/vlc-2.1.1/autotools/missing: line 81: aclocal-1.14: command not found"
Can anyone kindly tell me how to fix this error?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: build error!

Postby Jean-Baptiste Kempf » 08 Oct 2015 16:21

install autotools.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

petma
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2015 12:18

Re: build error!

Postby petma » 05 Nov 2015 06:56

I have the same build error that the OP with version 2.2.1. It seems to be connected to libavcodec which I have installed from the repositories. Do you think I should compile it separately first?

I'm running Debian wheezy in Beaglebone Black (armhf) so trying out snapshots is very slow as I don't have cross-compilation environment set up. I don't have anything installed from the debian multimedia repos. The binary VLC works fine except is does not have RTSP support (can't understand why).

Here's the exact build output: http://pastebin.com/9tEaR1VT

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: build error!

Postby Rémi Denis-Courmont » 05 Nov 2015 08:06

Your libavcodec is too recent and no longer compatible with VLC 2.2.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 25 guests