Hi,

I'm tring to build grass7 with support for ffmpeg
I built ffmpeg from its git repository using this guide :


http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

building grass i got error in OGSF, do you know how can i fix this ?
perhaps the ffmpeg version i'm using had an api change (is too recent)
thanks a lot for any help!

log :

epi@epinux:~/dev/grass7_trunk$ cd /home/epi/dev/grass7_trunk/lib/ogsf epi@epinux:~/dev/grass7_trunk/lib/ogsf$ make gcc -g -O2 -fPIC -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grasslibs"\" -I/usr/include/postgresql -I/usr/local/include/libavcodec -I/usr/local/include/libavdevice -I/usr/local/include/libavfilter -I/usr/local/include/libavformat -I/usr/local/include/libavutil -I/usr/local/include/libswresample -I/usr/local/include/libswscale -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/GK2.o -c GK2.c In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:106:0, from /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/gis.h:64, from /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gis.h:577, from GK2.c:21: /usr/include/x86_64-linux-gnu/bits/stat.h:91:21: error: field 'st_atim' has incomplete type struct timespec st_atim; /* Time of last access. */ ^ /usr/include/x86_64-linux-gnu/bits/stat.h:92:21: error: field 'st_mtim' has incomplete type struct timespec st_mtim; /* Time of last modification. */ ^ /usr/include/x86_64-linux-gnu/bits/stat.h:93:21: error: field 'st_ctim' has incomplete type struct timespec st_ctim; /* Time of last status change. */ ^ In file included from /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/gis.h:64:0, from /home/epi/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gis.h:577, from GK2.c:21: /usr/include/x86_64-linux-gnu/sys/stat.h:366:31: error: array type has incomplete element type const struct timespec __times[2], ^ /usr/include/x86_64-linux-gnu/sys/stat.h:373:54: error: array type has incomplete element type extern int futimens (int __fd, const struct timespec __times[2]) __THROW; ^ make: *** [OBJ.x86_64-unknown-linux-gnu/GK2.o] Error 1 epi@epinux:~/dev/grass7_trunk/lib/ogsf$
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to