[GRASS-dev] FFmpeg include files location
Paul Kelly
paul-grass at stjohnspoint.co.uk
Wed Feb 13 09:38:41 EST 2008
On Wed, 13 Feb 2008, Paul Kelly wrote:
> I've only ever compiled and installed FFmpeg myself, but it always puts its
> headers into ${PREFIX}/ffmpeg. Hence, when a C file includes these headers it
> should do e.g. #include <ffmpeg/avformat.h>. However lib/ogsf/gsd_img_mpeg.c
> includes files directly without the ffmpeg/ prefix. Is this valid on any
> common Linux distributions - are the FFmpeg header files directly in
> /usr/include instead of /usr/include/ffmpeg? If not, I think we should change
> it and the configure check so they work properly, i.e. no special value is
> required to be given for --with-ffmpeg-includes if they've been installed in
> the standard location.
Looks like a similar thing could be said for MySQL include files and
db/drivers/mysql/globals.h. I'm almost sure there was a discussion about
something like this with PostgreSQL a few years ago - but in that case
IIRC it was PostgreSQL's naming convention, rather than GRASS that was
broken.
Paul
More information about the grass-dev
mailing list