FS#12261 - ffmpeg header files possibly misplaced

Attached to Project: Community Packages
Opened by Eric Easley (intrados) - Friday, 28 November 2008, 00:45 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 01 June 2009, 12:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When attempting to compile MusicBrainz Picard from source, I get the following error:
http://pastebin.com/f228ddf65

It indicates that gcc was unable to find the avcodec.h and avformat.h which are located in /usr/include/libavcodec/avcodec.h and /usr/include/libavformat/avformat.h. I was able to get Picard to compile by running:
'sudo ln -s /usr/include/libav*/* /usr/include'

Are these header files from ffmpeg located in the wrong place?
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Monday, 01 June 2009, 12:09 GMT
Reason for closing:  Upstream
Comment by Jan de Groot (JGC) - Friday, 28 November 2008, 07:59 GMT
No, it's either a bug in the application or in the .pc file shipped with ffmpeg. Looking at the included .pc files with ffmpeg, the /usr/include/* directories shipped with ffmpeg are not included in the include path. This is expected I think, as most applications use <libavcodec/avcodec.h> instead of <avcodec.h>.
As ffmpeg is constantly changing in both ABI and API, I would say that it's a bug in the application by not keeping up with ffmpeg development.

Loading...