[Paraview] error when building ffmpeg

Fabian Wein fabian.wein at fau.de
Thu Apr 13 11:09:21 EDT 2017


Please keep the thread on the list.

I guess there is some kind of build directory in your build directory where it should work.

Fabian

> Hi Fabien, 
> 
> When I run ctest  -R cpack in the build directory I get "not tests found".
> How can I fix this?
> 
> Thanks in Advance, 
> 
> Hedieh Ebrahimi
> Consultant 
> 
> 
> 
> 
> 
> 
> 
> On 13 April 2017 at 12:03, Fabian Wein <fabian.wein at fau.de> wrote:
> Superbuild allows to build distributable packages via ctest -R cpack and we share these. So I never had to investigate about shared/ static libs. I would suggest that only static and only one executable doesn’t work, alone because of the plugins. But I really don’t know.
> 
> > Hi Fabian,
> >
> > Thanks for your swift reply.
> > I have many opensuse machines all using the same opensuse version. I would like to build the executable so that I can just copy it to the other machines and run it. ( statistically linked).
> >
> > Is BUILD_SHARED_LIBS=0 the only settings that will make this work or there are more steps I would need to take?
> >
> > I´d appreciate your help,
> >
> >
> >
> > Hedieh Ebrahimi
> > Consultant
> >
> >
> >
> >
> >
> >
> >
> > On 13 April 2017 at 11:48, Fabian Wein <fabian.wein at fau.de> wrote:
> > You can still use superbuild.
> > * Manually you build PV then modify the code and make again.
> > * Programmatically you can patch superbuild such that patches with your changes are applied to PV. Before PV 5.2 I did this myself. It is easy as superbuild applies some patches by itself you can use as template.
> >
> > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > 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
> > >
> > >
> >
> >
> 
> 



More information about the ParaView mailing list