[Ambulant-users] build problem (net/ffmpeg_common.cpp:111: error: ‘CODEC_ID_MPEG4AAC’ was not declared in this scope)

Joost Geurts joost.geurts at inria.fr
Fri Apr 24 16:45:55 CEST 2009


Hello,

I am trying to build ambulant from CVS on Mac OSX (darwin 9.6.0) using  
the provided instructions. Unfortunately  it seems I run into a  
missing codec/library problem although  ffmpeg compiles fine  
(including faad). Any help is appreciated!

thanks joost

the reported error is:

libtool: compile:  g++ -DPACKAGE_NAME=\"ambulant\" -DPACKAGE_TARNAME= 
\"ambulant\" -DPACKAGE_VERSION=\"2.0.2\" "-DPACKAGE_STRING=\"ambulant  
2.0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ambulant\" -DVERSION= 
\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 - 
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - 
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 - 
DHAVE_UNISTD_H=1 -DLT_MODULE_EXT=\".so\" -DLT_MODULE_PATH_VAR= 
\"DYLD_LIBRARY_PATH\" -DLT_DLSEARCH_PATH=\"/usr/local/lib:/lib:/usr/lib 
\" -DHAVE_LIBDL=1 -DHAVE_DLERROR=1 -DHAVE_LIBDLLOADER=1 - 
DHAVE_DLFCN_H=1 -Derror_t=int -D__error_t_defined=1 -DLT_OBJDIR= 
\".libs/\" -DHAVE_PRELOADED_SYMBOLS=1 -DHAVE_UNISTD_H=1 - 
DHAVE_MACH_O_DYLD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_CLOSEDIR=1 - 
DHAVE_OPENDIR=1 -DHAVE_READDIR=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 - 
DLT_LIBEXT=\"\" -DLT_OBJDIR=\".libs/\" -DHAVE_ICONV=1 -DENABLE_NLS=1 - 
DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DWITH_LTDL_PLUGINS=1 - 
DWITH_SMIL30=1 -DWITH_EXTERNAL_DOM=1 -DWITH_OVERLAY_WINDOW=1 - 
DWITH_EXPAT=1 -DWITH_XERCES=1 -DHAVE_PTHREAD=1 -I. -DAMBULANT_DATADIR= 
\"/usr/local/share/ambulant\" -DAMBULANT_PLUGINDIR=\"/usr/local/lib/ 
ambulant\" -I../../include -I../../include -I/Users/geurts/tmp/ 
ambulant/third_party_packages/expat-unix/include -I/Users/geurts/tmp/ 
ambulant/third_party_packages/xerces-unix/include -D_REENTRANT -I/opt/ 
local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/ 
include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/ 
pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ 
include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/ 
local/include/freetype2 -I/opt/local/include/libpng12 -I/Users/geurts/ 
tmp/ambulant/third_party_packages/sdl-unix/include/SDL -D_GNU_SOURCE=1  
-D_THREAD_SAFE -DWITH_FFMPEG -DWITH_FFMPEG_AVFORMAT -I/Users/geurts/ 
tmp/ambulant/third_party_packages/ffmpeg -I/Users/geurts/tmp/ambulant/ 
third_party_packages/ffmpeg -I/Users/geurts/tmp/ambulant/ 
third_party_packages/ffmpeg -I/Users/geurts/tmp/ambulant/ 
third_party_packages/live/BasicUsageEnvironment/include -I/Users/ 
geurts/tmp/ambulant/third_party_packages/live/groupsock/include -I/ 
Users/geurts/tmp/ambulant/third_party_packages/live/liveMedia/include - 
I/Users/geurts/tmp/ambulant/third_party_packages/live/UsageEnvironment/ 
include -I../../libltdl -g -O2 -MT ffmpeg_common.lo -MD -MP -MF .deps/ 
ffmpeg_common.Tpo -c net/ffmpeg_common.cpp  -fno-common -DPIC -o .libs/ 
ffmpeg_common.o
net/ffmpeg_common.cpp: In constructor  
‘ambulant::net::ffmpeg_codec_id::ffmpeg_codec_id()’:
net/ffmpeg_common.cpp:111: error: ‘CODEC_ID_MPEG4AAC’ was not declared  
in this scope
make[2]: *** [ffmpeg_common.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

the installed third-party packages are:
ffmpeg -r {2008-06-15}
faad2-2.7
live.2009.04.20



More information about the Ambulant-users mailing list