[Paraview] Compilation failure with the latest git master

Robert Maynard robert.maynard at kitware.com
Tue Mar 10 10:48:08 EDT 2015


It looks like vtkGDAL is incorrectly being wrapped, even though it has been
marked as wrap execluded.

On Mon, Mar 9, 2015 at 7:22 PM, Ondřej Čertík <ondrej.certik at gmail.com>
wrote:

> On Mon, Mar 9, 2015 at 12:54 PM, Ondřej Čertík <ondrej.certik at gmail.com>
> wrote:
> > Hi,
> >
> > I have a working version using git
> > f7aac037722d9d13b75d9fdb15a1053c0874c6c6. I kept the same versions of
> > all the external dependencies (boost, png, qt, zlib, bzip2, gdal,
> > hdf5, mpi, netcdf4, netcdf4cpp, freetype, python, numpy, matplotlib,
> > libxml2, mesa), but upgraded to the latest git master of ParaView (and
> > updated submodules): 7e714de07e6a3c0e376ed634cf83be44be13d733.
> >
> > Now paraview fails to build with:
> >
> > [paraview]
> /local/certik/tmp/paraview-xx3asav3as7r-1/_build/Wrapping/ClientServer/vtkGDALClientServer.cxx:13:41:
> > error: invalid conversion from 'vtkObject*' to 'vtkGDAL*'
> > [-fpermissive]
> > [paraview]    vtkGDAL *op = vtkGDAL::SafeDownCast(ob);
> > [paraview]                                          ^
> >
> >
> > Here is a full build log:
> >
> https://gist.githubusercontent.com/certik/05d98c5b60664e028eee/raw/gistfile1.txt
> >
> > Any ideas what could be causing it?
>
> I used git bisect and it said:
>
> 25f505c5dc55c9f38df2fbb374e1a8ecdc2479fd is the first bad commit
> commit 25f505c5dc55c9f38df2fbb374e1a8ecdc2479fd
> Author: Shawn Waldon <shawn.waldon at kitware.com>
> Date:   Fri Feb 13 16:24:05 2015 -0500
>
>     Update VTK to get vtkPointGaussianMapper bugfix
>
>     Change-Id: I49f288c2a2f8bd9282facb473a26557a4a771a1c
>
> This commit only updates the VTK submodule:
>
> diff --git a/VTK b/VTK
> index 96c61c1..8bb1cd3 160000
> --- a/VTK
> +++ b/VTK
> @@ -1 +1 @@
> -Subproject commit 96c61c1cd52e3c4e2e38414b7a703999e4e6fc3e
> +Subproject commit 8bb1cd3a0799ba9d663547c9c1427cb5a230d3cd
>
>
> So it looks like a bug in VTK. Any ideas how to fix it? Perhaps VTK
> requires more recent GDAL? I use the one from
> http://vtk.org/files/support/gdal_5b8309b.tar.gz.
>
> Ondrej
> _______________________________________________
> 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/20150310/1cf56e28/attachment.html>


More information about the ParaView mailing list