[Ffmpeg-devel] Re: r7050 broke build on MacOSX (?)

Roine Gustafsson roine
Tue Nov 14 18:22:08 CET 2006


On Nov 14, 2006, at 8:07 PM, M?ns Rullg?rd wrote:

>
> sci-fi at hush.ai said:
>> On 2006-11-14 04:01:04 -0600, M?ns Rullg?rd <mru at inprovide.com> said:
>>
>> config.h:
> [...]
>> #define HAVE_FAST_INT 1
>> #define HAVE_INTTYPES 1
>
> These macros are properly defined, so the typedefs under #ifndef  
> HAVE_FAST_INT
> shouldn't be included.  Still, the compiler claims that they were.
>
> Do you by any chance have a stray config.h around?  Try building a  
> clean
> checkout.

The problem is HAVE_AV_CONFIG_H is only defined when building ffmpeg,  
but common.h is also an external headerfile. So compiling  
output_example either needs an -DHAVE_AV_CONFIG_H (like vhook and the  
tests) or #define HAVE_AV_CONFIG_H at the top (like ffmpeg.c).


   Roine



More information about the ffmpeg-devel mailing list