[GRASS-dev] grass not building against new ffmpeg

Glynn Clements glynn at gclements.plus.com
Fri Jul 20 04:51:29 PDT 2012


Markus Neteler wrote:

>   --with-ffmpeg --with-ffmpeg-includes="/usr/include/ffmpeg
> /usr/include/ffmpeg/libav* /usr/include/ffmpeg/libpostproc
> /usr/include/ffmpeg/libswscale" \

Note that wildcard expansion is not performed inside quoted strings.

Also, for recent versions of FFMPEG, the #include directive in
gsd_img_mpeg.c:

	#include <avformat.h>

is incorrect. The directories are now part of the header name, so it
should be:

	#include <libavformat/avformat.h>

The directory containing the libav* subdirectories must be in the
include path.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list