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.ebrah...@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

_______________________________________________
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

Reply via email to