Hi.
First of all I'm using Fedora 7 x86_64, Code::Blocks svn build 4407, wx2.8.4(Linux, unicode).
Okay I'm tying to get ffmpeg to link in my small little Video Player.
I've included avformat.a and avcodec.a. and avutil.a in the linker settings.
But it still fails to compile saying:
ffmpeg/include/ffmpeg/avcodec.h:2243: warning: ‘ImgReSampleContext’ is deprecated (declared at ffmpeg/include/ffmpeg/avcodec.h:2237)
ffmpeg/include/ffmpeg/avcodec.h:2253: warning: ‘ImgReSampleContext’ is deprecated (declared at ffmpeg/include/ffmpeg/avcodec.h:2237)
obj/Debug/VideoStream.o:: In function `VideoStream':
Video/VideoStream.cpp:8: undefined reference to `av_register_all()'
Video/VideoStream.cpp:8: undefined reference to `av_register_all()'
Video/VideoStream.cpp:12: undefined reference to `av_open_input_file(AVFormatContext**, char const*, AVInputFormat*, int, AVFormatParameters*)'
Video/VideoStream.cpp:12: undefined reference to `av_open_input_file(AVFormatContext**, char const*, AVInputFormat*, int, AVFormatParameters*)'
Theres a lot more errors.
Is there configure settings I have to include to get it to compile?
I compiled ffmpeg from svn because the one that come with the RPM failed to compile saying "error: ‘INT64_C’ was not declared in this scope".
So it could have got messed up there.
Any help would be vary much appreciated.