[FFmpeg-devel] error in aaccoder.c building under Cygwin ?
victorpaesa at googlemail.com
Sat Apr 23 11:49:07 CEST 2011
On Sat, Apr 23, 2011 at 11:05, Michael Niedermayer wrote:
> On Sat, Apr 23, 2011 at 04:52:38AM -0300, Fernando Cassia wrote:
>> Hi there,
>> I´m trying to build ffmpeg 0.6.90-rc0 (from ffmpeg.
>> I have installed gcc 3.4.4, yasm (0.8, last one with cygwin support),
>> and pkg-config, which were missing.
>> All goes well until the build process bombs at aaccoder.c. Any ideas?
>> CC libavcodec/aac_adtstoasc_bsf.o
>> libavcodec/aac_adtstoasc_bsf.c: In function `aac_adtstoasc_filter':
>> libavcodec/aac_adtstoasc_bsf.c:51: warning: cast discards qualifiers from pointe
>> r target type
>> libavcodec/aac_adtstoasc_bsf.c:104: warning: cast discards qualifiers from point
>> er target type
>> CC libavcodec/aac_parser.o
>> CC libavcodec/aacadtsdec.o
>> CC libavcodec/aaccoder.o
>> libavcodec/aaccoder.c: In function `coef2minsf':
>> libavcodec/aaccoder.c:520: error: `float_t' undeclared (first use in this functi
> can you try git ?
> it should be fixed there
> also you can downgrade cygwin to 1.7.7 which should fix it as well
Yes, including math.h solves the issue on Cygwin >1.7.7
Though I think including libavutil/libm.h is better for the platforms
that do not have log2f()
Something like this:
P.S: git still scares me, if you wonder why I haven't push it
More information about the ffmpeg-devel