2012-01-07, 13:09
wingrunr21 Wrote:Has anyone compiled dado483's AE-preEden branch under Linux? Can't get it to compile on my Gentoo box. This is killing my compile every time:
Code:DVDAudioCodecFFmpeg.cpp:185:10: error: ‘SAMPLE_FMT_U8’ was not declared in this scope
DVDAudioCodecFFmpeg.cpp:186:10: error: ‘SAMPLE_FMT_S16’ was not declared in this scope
DVDAudioCodecFFmpeg.cpp:187:10: error: ‘SAMPLE_FMT_S32’ was not declared in this scope
DVDAudioCodecFFmpeg.cpp:188:10: error: ‘SAMPLE_FMT_FLT’ was not declared in this scope
DVDAudioCodecFFmpeg.cpp:189:10: error: ‘SAMPLE_FMT_DBL’ was not declared in this scope
Normal nightlies compile fine.
Mhh.....it's very strange.....seems that your compiler is not including DllAvcore.h
Try to change this line in DVDAudioCodecFFmpeg.h:
#include "DllAvCodec.h" -> #include "lib/DllAvCodec.h"
if it don't work, try to add the line above to the file DVDAudioCodecFFmpeg.cpp (is not formally correct in c++)
Regards
Davide