<HTML dir=ltr><HEAD><TITLE>Re: R: [GRASS-dev] GRASS FFMPEG support</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18023" name=GENERATOR><BASE href=http://mailstore.rossoalice.alice.it/exchange/Alice000000001264700/Bozze/R:%20R:%20[GRASS-dev]%20GRASS%20FFMPEG%20support-2.EML/1_text.htm></HEAD>
<BODY>
<DIV id=idOWAReplyText3608 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi all,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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!).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>NVIZ build failed, because of the following errors:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" color=#000000 size=2>(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)<BR>OBJ.i686-pc-mingw32/gsd_img_mpeg.o: In function `gsd_close_mpeg':<BR>C:/MSYS/local/src/grass-6.3.0/lib/ogsf/gsd_img_mpeg.c:182: undefined reference to `av_free'<BR>C:/MSYS/local/src/grass-6.3.0/lib/ogsf/gsd_img_mpeg.c:183: undefined reference to `av_free'<BR>collect2: ld returned 1 exit status<BR>make: *** [/usr/local/src/grass-6.3.0/dist.i686-pc-mingw32/lib/libgrass_ogsf.6.3.0.dll] Error</FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" color=#000000 size=2>C:\MSYS\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lgrass_ogsf<BR>collect2: ld returned 1 exit status<BR>make[1]: *** [nvwish.exe] Error 1<BR>make[1]: Leaving directory `/usr/local/src/grass-6.3.0/visualization/nviz/src'<BR>make: *** [default] Error 2</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>it seems that all is generated by the undefined reference to the av_free function. I googled for it and found as follows:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><A href="http://www.irisa.fr/texmex/people/dufouil/ffmpegdoxy/mem_8c.html#0c9096f498624c525aa2315b8a20c411">http://www.irisa.fr/texmex/people/dufouil/ffmpegdoxy/mem_8c.html#0c9096f498624c525aa2315b8a20c411</A></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>on the following page you can find all the information on how I configured and built both FFMPEG and GRASS:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><A href="http://www.webalice.it/marco.pasetti/temp/grass_wip/BuildFromSource.html">http://www.webalice.it/marco.pasetti/temp/grass_wip/BuildFromSource.html</A></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks for your help,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Marco</FONT></DIV></DIV></BODY></HTML>