logo       

cant compile in osx: msg#00206

video.ffmpeg.user

Subject: cant compile in osx

Hey guys,

I'm trying to build ffmpeg to convert movies to psp format, and have been having some problems getting my compile to build on OSX 10.4.5 (or 10.4.4 which I was using up untill yesterday)

I'm using todays CVS version.

my configure options are

./configure --enable-mp3lame --enable-gpl --enable-xvid --enable-faac --extra-cflags=-DHAVE_LRINTF

and when I make I get more info than I believe would be polite to dump here, but it appears that the majority of the issues are in faac.c the huge one being this first bit:

faac.c:26:18: error: faac.h: No such file or directory

anyone know what the issue is with this? do I need to grab faac source and drop it into the ffmpeg source tree somewhere?

Any help greatly appreciated.

FWIW, the rest of the dump from the point at which it tries to compile the faac info in is included below.

Thanks again :)

-- James


cc -O3 -g -Wall -Wno-switch -DHAVE_LRINTF -no-cpp-precomp -pipe - fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -faltivec -mdynamic-no-pic -DHAVE_AV_CONFIG_H -I.. -I/Users/james/sw/ffmpeg/ libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE - c -o faac.o faac.c
faac.c:26:18: error: faac.h: No such file or directory
faac.c:29: error: parse error before 'faacEncHandle'
faac.c:29: warning: no semicolon at end of struct or union
faac.c:30: warning: type defaults to 'int' in declaration of 'FaacAudioContext'
faac.c:30: warning: data definition has no type or storage class
faac.c: In function 'Faac_encode_init':
faac.c:34: error: 's' undeclared (first use in this function)
faac.c:34: error: (Each undeclared identifier is reported only once
faac.c:34: error: for each function it appears in.)
faac.c:35: error: 'faacEncConfigurationPtr' undeclared (first use in this function)
faac.c:35: error: parse error before 'faac_cfg'
faac.c:42: warning: implicit declaration of function 'faacEncOpen'
faac.c:47: error: 'faac_cfg' undeclared (first use in this function)
faac.c:47: warning: implicit declaration of function 'faacEncGetCurrentConfiguration'
faac.c:48: error: 'FAAC_CFG_VERSION' undeclared (first use in this function)
faac.c:50: warning: implicit declaration of function 'faacEncClose'
faac.c:55: error: 'LOW' undeclared (first use in this function)
faac.c:56: error: 'MPEG4' undeclared (first use in this function)
faac.c:66: error: 'FAAC_INPUT_16BIT' undeclared (first use in this function)
faac.c:80: warning: implicit declaration of function 'faacEncGetDecoderSpecificInfo'
faac.c:88: warning: implicit declaration of function 'faacEncSetConfiguration'
faac.c: In function 'Faac_encode_frame':
faac.c:99: error: 's' undeclared (first use in this function)
faac.c:102: warning: implicit declaration of function 'faacEncEncode'
faac.c: In function 'Faac_encode_close':
faac.c:113: error: 's' undeclared (first use in this function)
make[1]: *** [faac.o] Error 1
make: *** [lib] Error 2


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise