R: R: [GRASS-dev] GRASS FFMPEG support

marco.pasetti at alice.it marco.pasetti at alice.it
Thu Jun 12 12:10:48 EDT 2008


Hi all,
 
I built GRASS (wow! 1 hour against the 3 hours needed on my old machine... and I added the JPEG and the FFMPEG support, previously unconfigured!).
 
NVIZ build failed, because of the following errors:
 
(cd /usr/local/src/grass-6.3.0/dist.i686-pc-mingw32/lib; ln -f -s libgrass_ogsf.6.3.0.dll /usr/local/src/grass-6.3.0/dist.i686-pc-mingw32/lib/libgrass_ogsf.dll)
OBJ.i686-pc-mingw32/gsd_img_mpeg.o: In function `gsd_close_mpeg':
C:/MSYS/local/src/grass-6.3.0/lib/ogsf/gsd_img_mpeg.c:182: undefined reference to `av_free'
C:/MSYS/local/src/grass-6.3.0/lib/ogsf/gsd_img_mpeg.c:183: undefined reference to `av_free'
collect2: ld returned 1 exit status
make: *** [/usr/local/src/grass-6.3.0/dist.i686-pc-mingw32/lib/libgrass_ogsf.6.3.0.dll] Error
 
C:\MSYS\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lgrass_ogsf
collect2: ld returned 1 exit status
make[1]: *** [nvwish.exe] Error 1
make[1]: Leaving directory `/usr/local/src/grass-6.3.0/visualization/nviz/src'
make: *** [default] Error 2
 
it seems that all is generated by the undefined reference to the av_free function. I googled for it and found as follows:
http://www.irisa.fr/texmex/people/dufouil/ffmpegdoxy/mem_8c.html#0c9096f498624c525aa2315b8a20c411
 
on the following page you can find all the information on how I configured and built both FFMPEG and GRASS:
http://www.webalice.it/marco.pasetti/temp/grass_wip/BuildFromSource.html
 
Thanks for your help,
 
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080612/ee445b7c/attachment.html


More information about the grass-dev mailing list