[Paraview] Compilation failure with the latest git master

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 10 15:13:41 EDT 2015


Cool. John, can you please have the fix merged in VTK/ParaView?

Ondrej, it seems that vtkIOGDAL module is not enabled in ParaView by
default. Did you enable it explicitly? That'd explain why it's not
failing on the dashboards.

Utkarsh

On Tue, Mar 10, 2015 at 3:06 PM, Ondřej Čertík <ondrej.certik at gmail.com> wrote:
> Hi Utkarsh,
>
> On Tue, Mar 10, 2015 at 11:43 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>> Ondrej,
>>
>> Can you try the attached patch to see if that helps? It's a VTK patch,
>> so you'll need to apply in in the ParaView/VTK directory.
>
> It works!! Thanks a lot for figuring out what the problem was. So it
> looks like it was caused by:
>
> https://github.com/Kitware/VTK/commit/9b41015660e20fdb92d13ffcef9015f138e34b33
>
> Was my machine the only place it failed?
>
> Ondrej
>
>>
>> Thanks
>> Utkarsh
>>
>> On Tue, Mar 10, 2015 at 10:48 AM, Robert Maynard
>> <robert.maynard at kitware.com> wrote:
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> 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