scons: Building targets …
g++ -o core/Decoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/lib/jvm/java-6-sun-1.6.0.24/include -I/usr/lib/jvm/java-6-sun-1.6.0.24/include/linux core/Decoder.cpp
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::_open()’:
core/Decoder.cpp:249: error: ‘av_alloc_format_context’ was not declared in this scope
core/Decoder.cpp:261: error: ‘struct AVFormatParameters’ has no member named ‘video_codec_id’
core/Decoder.cpp:261: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
core/Decoder.cpp:262: error: ‘struct AVFormatParameters’ has no member named ‘audio_codec_id’
core/Decoder.cpp:262: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
core/Decoder.cpp:302: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
core/Decoder.cpp:307: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getLuminance()’:
core/Decoder.cpp:593: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB(int, int)’:
core/Decoder.cpp:718: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB()’:
core/Decoder.cpp:772: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA()’:
core/Decoder.cpp:789: error: ‘PIX_FMT_RGBA32’ was not declared in this scope
core/Decoder.cpp:826: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA(char*)’:
core/Decoder.cpp:842: error: ‘PIX_FMT_RGBA32’ was not declared in this scope
core/Decoder.cpp:850: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeFrame()’:
core/Decoder.cpp:1098: error: ‘avcodec_decode_video’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeAudioFrame()’:
core/Decoder.cpp:1148: error: ‘avcodec_decode_audio’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::setFrameFast(omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:1431: error: ‘PKT_FLAG_KEY’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::setFrameClassic(omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:1492: error: ‘PKT_FLAG_KEY’ was not declared in this scope
scons: *** Error 1
scons: building terminated because of errors.
any advice?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
scons: Building targets …
g++ -o core/Decoder.o -c -pthread -O3 -D__STDC_CONSTANT_MACROS= -Dattribute_deprecated= -Iexternal/include -Idist/include -I/usr/lib/jvm/java-6-sun-1.6.0.24/include -I/usr/lib/jvm/java-6-sun-1.6.0.24/include/linux core/Decoder.cpp
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::_open()’:
core/Decoder.cpp:249: error: ‘av_alloc_format_context’ was not declared in this scope
core/Decoder.cpp:261: error: ‘struct AVFormatParameters’ has no member named ‘video_codec_id’
core/Decoder.cpp:261: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
core/Decoder.cpp:262: error: ‘struct AVFormatParameters’ has no member named ‘audio_codec_id’
core/Decoder.cpp:262: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
core/Decoder.cpp:302: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
core/Decoder.cpp:307: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getLuminance()’:
core/Decoder.cpp:593: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB(int, int)’:
core/Decoder.cpp:718: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGB()’:
core/Decoder.cpp:772: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA()’:
core/Decoder.cpp:789: error: ‘PIX_FMT_RGBA32’ was not declared in this scope
core/Decoder.cpp:826: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::byte* omnividea::fobs::Decoder::getRGBA(char*)’:
core/Decoder.cpp:842: error: ‘PIX_FMT_RGBA32’ was not declared in this scope
core/Decoder.cpp:850: error: ‘img_convert’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeFrame()’:
core/Decoder.cpp:1098: error: ‘avcodec_decode_video’ was not declared in this scope
core/Decoder.cpp: In member function ‘virtual omnividea::fobs::ReturnCode omnividea::fobs::Decoder::decodeAudioFrame()’:
core/Decoder.cpp:1148: error: ‘avcodec_decode_audio’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::setFrameFast(omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:1431: error: ‘PKT_FLAG_KEY’ was not declared in this scope
core/Decoder.cpp: In member function ‘omnividea::fobs::ReturnCode omnividea::fobs::Decoder::setFrameClassic(omnividea::fobs::TimeStamp)’:
core/Decoder.cpp:1492: error: ‘PKT_FLAG_KEY’ was not declared in this scope
scons: *** Error 1
scons: building terminated because of errors.
any advice?
I try compile with latest x264 and ffmpeg, thank you for any advice