View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012691 | VTK | (No Category) | public | 2011-10-31 14:31 | 2013-07-22 17:16 | ||||
Reporter | td123 | ||||||||
Assigned To | Dave DeMarle | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | 6.0.0 | |||||||
Summary | 0012691: vtk incompatible with ffmpeg 0.8 api | ||||||||
Description | I get errors when trying to build vtk against the latest ffmpeg on archlinux. Debian seems to have the relevant patch and when I applied it and rebuilt, it fixed the error: http://patch-tracker.debian.org/patch/series/view/vtk/5.8.0-1/debian-changes-5.6.1-6.1 [^] The following is the full error message: [ 47%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o /build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’: /build/src/VTK/IO/vtkFFMPEGWriter.cxx:126:56: error: ‘guess_format’ was not declared in this scope /build/src/VTK/IO/vtkFFMPEGWriter.cxx:143:20: warning: ‘AVStream* av_new_stream(AVFormatContext*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1528) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:143:58: warning: ‘AVStream* av_new_stream(AVFormatContext*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1528) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:153:19: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope /build/src/VTK/IO/vtkFFMPEGWriter.cxx:196:7: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1611) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:196:52: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1611) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:209:7: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3905) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:209:28: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3905) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:262:7: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:262:88: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:269:3: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1669) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:269:40: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1669) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’: /build/src/VTK/IO/vtkFFMPEGWriter.cxx:346:20: error: ‘PKT_FLAG_KEY’ was not declared in this scope /build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘void vtkFFMPEGWriterInternal::End()’: /build/src/VTK/IO/vtkFFMPEGWriter.cxx:394:7: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations] /build/src/VTK/IO/vtkFFMPEGWriter.cxx:394:43: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations] make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1 make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2 make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0031181) Dave DeMarle (administrator) 2013-07-22 17:16 |
Should be fixed since: commit d48033e127b208228b46f820d454c5eca1c719e1 Author: Luca Barbato <lu_zero@gentoo.org> Date: Tue Jun 4 19:47:03 2013 -0400 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-10-31 14:31 | td123 | New Issue | |
2013-07-22 17:15 | Dave DeMarle | Assigned To | => Dave DeMarle |
2013-07-22 17:15 | Dave DeMarle | Status | backlog => todo |
2013-07-22 17:15 | Dave DeMarle | Status | todo => active development |
2013-07-22 17:16 | Dave DeMarle | Note Added: 0031181 | |
2013-07-22 17:16 | Dave DeMarle | Status | active development => closed |
2013-07-22 17:16 | Dave DeMarle | Resolution | open => fixed |
2013-07-22 17:16 | Dave DeMarle | Fixed in Version | => 6.0.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |