[Ffmpeg-devel] [PATCH] fix config.h include issue

Diego Biurrun diego
Fri Feb 16 12:08:41 CET 2007


On Fri, Feb 16, 2007 at 06:58:43PM +0800, Limin Wang wrote:
> 
> * M??ns Rullg??rd <mans at mansr.com> [2007-02-16 10:34:36 -0000]:
> 
> > Limin Wang said:
> > >
> > > The patch try to fix ffmpeg included other config.h if using extra-libs which
> > > the library has config.h and on ffmpeg include search path. If you have better
> > > fix, fix it anyway. In fact, some other header include has the same issue just
> > > for config.h is common.
> > >
> > > How to reproduce:
> > > ./configure --enable-gpl --extra-cflags="-I/your/x264/path"
> > > --extra-libs="-L/your/x264/path"
> > 
> > Install x264 the normal way instead of pointing gcc at the x264 source tree.
> 
> The problem is I want to build these packages into one place. So it's
> reasonable to link all with my control path. Or I had to make install every
> time if have any change to other packages.

And you're supposed to 'make install' every time you make changes of
course.  You are solely responsible for your troubles since you chose to
walk the unofficial path.  Fine.

BTW, just add -I/your/ffmpeg/path to CFLAGS before -I/your/x264/path and
everything should be fine.

Diego





More information about the ffmpeg-devel mailing list