Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#274 qrender fails compile

open
nobody
None
5
2012-04-03
2012-04-03
rosc2112
No

Using the latest cvs version of qrender (latest release version also had errors so I tried cvs too), qt4.8.0, qt3.3.8b, and ffmpeg 0.10.2, I'm getting these errors on compiling qrender (make log is attached to preserve long lines.)

Summary:

engine/ffmpeg_enc.cpp: In member function 'double Encoder::FFmpeg::Vid::guessDuration(AVFormatContext*, int)':
engine/ffmpeg_enc.cpp:1239:53: warning: 'AVFormatContext::file_size' is deprecated (declared at /usr/local/include/libavformat/avformat.h:987)

engine/ffmpeg_enc.cpp:1239:53: warning: 'AVFormatContext::file_size' is deprecated (declared at /usr/local/include/libavformat/avformat.h:987)

engine/ffmpeg_enc.cpp:1240:9: error: 'guess' was not declared in this scope

[...]

engine/ffmpeg_enc.cpp: In member function 'bool Encoder::FFmpeg::OpenVideoEncoder()':

engine/ffmpeg_enc.cpp:1632:17: warning: 'AVFormatContext::preload' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1013)

engine/ffmpeg_enc.cpp:1632:17: warning: 'AVFormatContext::preload' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1013)

engine/ffmpeg_enc.cpp:1632:36: error: 'fMuxPreload' was not declared in this scope

engine/ffmpeg_enc.cpp: In member function 'bool Encoder::FFmpeg::addAudioStream(int)':

engine/ffmpeg_enc.cpp:1669:57: error: invalid conversion from 'int' to 'AVCodec*'

engine/ffmpeg_enc.cpp:1669:57: error: initializing argument 2 of 'AVStream* avformat_new_stream(AVFormatContext*, AVCodec*)'
make: *** [.obj/ffmpeg_enc.o] Error 1

Any other info I should post, please let me know. Any clues how to fix much appreciated (Not a programmer here :)

Love qdvdauthor (been a while since I've done upgrades :)

Discussion

  • rosc2112
    rosc2112
    2012-04-03

    make.log in qrender

     
    Attachments
  • Look at the bug report I just submitted to this project -- it contains a patch that should fix the problem you're having.
    Keep in mind that qdvdauthor seems to need ffmpeg version 0.6.3 or OLDER in order to build. (i.e. I just got it to build under Fedora Core 14, but I still can't build it under Fedora Core 17).