Hi Markus,

i missed that trac issue.
I'll remove ffmpeg from the configure in order to have nviz working.

Thank you very much,

Massimo.


On 09/29/2013 03:11 PM, Markus Neteler wrote:
On Sun, Sep 29, 2013 at 9:05 PM, Massimo Di Stefano
<[email protected]> wrote:
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;
...

Please see
http://trac.osgeo.org/grass/ticket/2017

especially
http://trac.osgeo.org/grass/ticket/2017#comment:12

Markus

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to