[Paraview] error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'

David E DeMarle dave.demarle at kitware.com
Thu Jul 24 15:42:44 EDT 2008


VTK's FFMPEG adapter is not compatible with recent FFMPEG versions
because parts of FFMPEG's API have changed.

There is an existing bug (http://www.vtk.org/Bug/view.php?id=4719) on
the VTK bugtracker to update VTK to be compatible with recent FFMPEG,
but we have not gotten to it yet.

In the meantime, you can either svn back date to 2006-01-30, or
download the FFMPEG source code from that date via
http://www.vtk.org/get-software.php#addons.

cheers,
Dave DeMarle

On Thu, Jul 24, 2008 at 3:12 PM, Ken Teague <kteague at pobox.com> wrote:
> ParaView v3.2.3
> Qt v4.3.5
> gcc v4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> ccmake v2.4-patch 5
> Debian Etch
> amd64
> FFmpeg version SVN-r14134, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>  configuration: --prefix=/usr/local
>  libavutil version: 49.7.0
>  libavcodec version: 51.58.0
>  libavformat version: 52.16.0
>  libavdevice version: 52.0.0
>  built on Jul  8 2008 19:51:37, gcc: 4.1.2 20061115 (prerelease)
>
>
> [ 16%] Building CXX object VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o
> /usr/src/ParaView3.2.3/VTK/IO/vtkFFMPEGWriter.cxx: In member function 'int vtkFFMPEGWriterInternal::Write(vtkImageData*)':
> /usr/src/ParaView3.2.3/VTK/IO/vtkFFMPEGWriter.cxx:259: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2501)
> /usr/src/ParaView3.2.3/VTK/IO/vtkFFMPEGWriter.cxx:261: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2501)
> /usr/src/ParaView3.2.3/VTK/IO/vtkFFMPEGWriter.cxx: In member function 'void vtkFFMPEGWriterInternal::End()':
> /usr/src/ParaView3.2.3/VTK/IO/vtkFFMPEGWriter.cxx:335: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'
> make[2]: *** [VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.o] Error 1
> make[1]: *** [VTK/IO/CMakeFiles/vtkIO.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Does anyone know how I can fix this error?  Thanks.
>
> - Ken
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list