path to libavformat after Mac Ports install?
I've been banging my head against the wall over this issue for a while so any help would be amazing.
I'm trying to compile a C program which needs the libraries from FFMpeg. I'm using Snow Leopard and I installed FFMPeg using Mac Ports which put it into the directory opt/local/bin/ffmpeg, but it appears that the libraries are in opt/local/include because that is where I see the libavformat etc.. folders and also the header files in them.
This is what my Makefile looks like for the C program:
And when I try to compile it gives me this:
Another thing I should mention; When I look into opt/local/include/libavformat , there are only two .h files -- avformat.h and avio.h.
I came across a doxygen documentation for FFMpeg on the net and it looked as though libavformat had more then 20 or 30 header files in it.
Does any of this seem weird to anybody? Am I missing part of the libavformat library or am I just giving the makefile the wrong path?
Furthermore.. when I run ffmpeg at Terminal, it spits out this:
which gives me the impression that I in fact DO have these libraries. Please help!
[derek winnicki] "Am I missing part of the libavformat library or am I just giving the makefile the wrong path?"
[derek winnicki] "which gives me the impression that I in fact DO have these libraries. Please help!"
Not really sure *where* Mac ports puts all of it's stuff. Try to compile FFmpeg from latest source. This way you will definately know where they are.