epifanio wrote:
> hi,
> i'need to compile an application with the ffmpeg support.
>
> in this application  (Grass gis)
> i've (./configure --help) :
>
> --with-ffmpeg
> --with-ffmpeg-includes=DIRS       # FFMPEG include files are in DIRS
> --with-ffmpeg-libs=DIRS              # FFMPEG library files are in DIRS
>
> iìm try to add this line to my ./configure
>
> --with-ffmpeg --with-ffmpeg-includes=/sw/include --with-fftw-libs=/sw/ 
> lib
>
> but i've this configure error :
>
> checking whether to use FFMPEG... yes
> checking for location of FFMPEG includes... /sw/include/
> checking for avcodec.h... no
> configure: error: *** Unable to locate FFMPEG includes.
> computer-di-epifanio:~/grass6 epifanio$
>
> can you helpe me ?
>
> i'm on mac-intel.
>   
Yup:

$ dpkg -L ffmpeg-dev 
/.
/sw
/sw/include
/sw/include/ffmpeg
/sw/include/ffmpeg/avio.h
/sw/include/ffmpeg/common.h
/sw/include/ffmpeg/rational.h
/sw/include/ffmpeg/rtp.h
/sw/include/ffmpeg/rtsp.h
/sw/include/ffmpeg/rtspcodes.h
...

So you need --with-ffmpeg-includes=/sw/include/ffmpeg, and you also need to 
have libavcodec1-dev to get avcodec.h

-- 
Alexander K. Hansen
(akh)
Fink Documenter


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to