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.

Thanks
Utkarsh

On Tue, Mar 10, 2015 at 10:48 AM, Robert Maynard
<[email protected]> 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 <[email protected]>
> wrote:
>>
>> On Mon, Mar 9, 2015 at 12:54 PM, Ondřej Čertík <[email protected]>
>> 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 <[email protected]>
>> 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
>
diff --git a/IO/GDAL/CMakeLists.txt b/IO/GDAL/CMakeLists.txt
index 9cb8fe6..eb1b582 100644
--- a/IO/GDAL/CMakeLists.txt
+++ b/IO/GDAL/CMakeLists.txt
@@ -4,7 +4,7 @@ mark_as_advanced(GDAL_INCLUDE_DIR GDAL_LIBRARY)
 set(GDAL_SRCS vtkGDAL.cxx vtkGDALVectorReader.cxx vtkGDALRasterReader.cxx)
 
 include_directories(${GDAL_INCLUDE_DIRS})
-set_source_files_properties(vtkGDAL.h WRAP_EXCLUDE)
+set_source_files_properties(vtkGDAL WRAP_EXCLUDE)
 
 vtk_module_library(vtkIOGDAL ${GDAL_SRCS})
 
_______________________________________________
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