[GRASS-user] problems starting wxPython gui using wingrass
Glynn Clements
glynn at gclements.plus.com
Thu Jan 17 23:27:14 EST 2008
nikos.alexandris at felis.uni-freiburg.de wrote:
> (1)
>
> gcc -I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include -g -Wall -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/include/gdal -DPACKAGE=\""grasslibs"\" -I/usr/include/ffmpeg -I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
> In file included from /usr/include/ffmpeg/avformat.h:36,
> from gsd_img_mpeg.c:10:
> /usr/include/ffmpeg/avcodec.h:2447: warning: �ImgReSampleContext� is deprecated
> /usr/include/ffmpeg/avcodec.h:2450: warning: �ImgReSampleContext� is deprecated
> In file included from gsd_img_mpeg.c:10:
> /usr/include/ffmpeg/avformat.h:282: warning: �AVFrac� is deprecated
> gsd_img_mpeg.c:11:21: error: swscale.h: No such file or directory
> gsd_img_mpeg.c:19: error: �SWS_BICUBIC� undeclared here (not in a function)
> gsd_img_mpeg.c: In function �add_video_stream�:
> gsd_img_mpeg.c:39: warning: �return� with no value, in function returning non-void
> gsd_img_mpeg.c: In function �write_video_frame�:
> gsd_img_mpeg.c:155: warning: unused variable �img_convert_ctx�
> make: *** [OBJ.i686-pc-linux-gnu/gsd_img_mpeg.o] Error 1
> nik at vertical:/usr/local/src/grass_trunk/lib/ogsf$
This one is because you need a newer version of FFMPEG (or remove the
--with-ffmpeg switch).
Error #4 (NVIZ) is a consequence of this; OGSF fails to build due to
FFMPEG issues, and NVIZ fails because OGSF is missing.
As Michael points out, (2) and (3) are because you need to use
--with-python (which requires SWIG) to build the wxPython digitising
module.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list