[Paraview] error when building ffmpeg

Hedieh Ebrahimi hedieh.ebrahimi at amphos21.com
Thu Apr 13 04:01:25 EDT 2017


Hi Fabian,

The reason I am not using superbuild is because I would need to modify the
paraview source code. Is there any way to be able to modify the paraview
source code using superbuild?

Thanks,

Hedieh Ebrahimi
Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>



On 13 April 2017 at 09:11, Fabian Wein <fabian.wein at fau.de> wrote:

> Hi,
>
> for me it appears you are not using superbuild. I suggest you try to build
> PV with superbuild:
> https://gitlab.kitware.com/paraview/paraview-superbuild/
>
> Fabian
>
> > Am 12.04.2017 um 19:13 schrieb Hedieh Ebrahimi <
> hedieh.ebrahimi at amphos21.com>:
> >
> > Hi all,
> >
> > when buiding paraview I get the following error:
> >
> >  12%] Building CXX object VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/
> vtkFFMPEGWriter.cxx.o
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In
> member function ‘int vtkFFMPEGWriterInternal::Start()’:
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected type-specifier before ‘CodecID’
> >    c->codec_id = static_cast<CodecID>(this->
> avOutputFormat->video_codec);
> >                              ^
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected ‘>’ before ‘CodecID’
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected ‘(’ before ‘CodecID’
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: ‘CodecID’ was not declared in this scope
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:72:
> error: expected ‘)’ before ‘;’ token
> >    c->codec_id = static_cast<CodecID>(this->
> avOutputFormat->video_codec);
> >                                                                         ^
> > VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build.make:74: recipe for
> target 'VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o'
> failed
> > make[2]: *** [VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o]
> Error 1
> > CMakeFiles/Makefile2:7935: recipe for target 'VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all'
> failed
> > make[1]: *** [VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all] Error 2
> > Makefile:149: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > I have trying to build on opensuse leap 42.2. and my ffmpeg version is
> 3.2.4
> >
> > Could anybody give me a hint on how to fix this?
> >
> > Thank you very much in Advance,
> > Hedieh Ebrahimi
> > Consultant
> >
> >
> >
> >
> >
> >
> > <CMakeCache.txt><Makefile>__________________________________
> _____________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170413/938a0b6e/attachment.html>


More information about the ParaView mailing list