affects ubuntu/freej
status confirmed
importance medium
tag ftbfs ffmpegheaders
done
Hi,
This package fails to build from source in jaunty:
In file included from ../src/include/impl_layers.h:48,
from impl_layers.cpp:34:
../src/include/video_layer.h:22:28: error: ffmpeg/avcodec.h: No such
file or directory
../src/include/video_layer.h:23:29: error: ffmpeg/avformat.h: No such
file or directory
In file included from ../src/include/impl_layers.h:48,
from impl_layers.cpp:34:
../src/include/video_layer.h:34: error: ISO C++ forbids declaration of
'AVPicture' with no type
../src/include/video_layer.h:34: error: expected ';' before '*' token
../src/include/video_layer.h:46: error: ISO C++ forbids declaration of
'AVCodec' with no type
../src/include/video_layer.h:46: error: expected ';' before '*' token
../src/include/video_layer.h:47: error: ISO C++ forbids declaration of
'AVInputFormat' with no type
../src/include/video_layer.h:47: error: expected ';' before '*' token
../src/include/video_layer.h:48: error: ISO C++ forbids declaration of
'AVFormatContext' with no type
../src/include/video_layer.h:48: error: expected ';' before '*' token
../src/include/video_layer.h:49: error: ISO C++ forbids declaration of
'AVStream' with no type
../src/include/video_layer.h:49: error: expected ';' before '*' token
../src/include/video_layer.h:50: error: ISO C++ forbids declaration of
'AVPicture' with no type
../src/include/video_layer.h:50: error: expected ';' before '*' token
../src/include/video_layer.h:51: error: 'AVPacket' does not name a type
../src/include/video_layer.h:52: error: ISO C++ forbids declaration of
'AVCodecContext' with no type
../src/include/video_layer.h:52: error: expected ';' before '*' token
../src/include/video_layer.h:53: error: ISO C++ forbids declaration of
'AVCodec' with no type
../src/include/video_layer.h:53: error: expected ';' before '*' token
../src/include/video_layer.h:54: error: 'AVFrame' does not name a type
../src/include/video_layer.h:100: error: 'AVPicture' has not been
declared
../src/include/video_layer.h:103: error: 'AVPicture' has not been
declared
../src/include/video_layer.h:104: error: 'AVPicture' has not been
declared
make[4]: *** [impl_layers.o] Error 1
--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910
This is easily fixed with the attached patch. Unfortunately, it uses img_convert, which has been removed:
video_layer.cpp: In member function 'virtual void* VideoLayer: :feed() ': cpp:359: error: 'img_convert' was not declared in this scope
video_layer.
make[4]: *** [video_layer.o] Error 1