MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015692 | VTK | (No Category) | public | 2015-08-27 13:10 | 2016-08-12 09:55 |
Reporter | Morgulis | ||||
Assigned To | Aashish Chaudhary | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | TBD | ||||
Type | incorrect functionality | ||||
Summary | 0015692: Add gdal-2.0 compatibility | ||||
Description | I am trying to compile VTK with gdal 2.0 and got this compilation error: [ 25%] Building CXX object Wrapping/Python/CMakeFiles/vtkCommonDataModelPythonD.dir/vtkPointSetPython.cxx.o /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx: In constructor 'vtkGDALVectorReader::Internal::Internal(const char*, int, int, int)': /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx:47:20: error: 'Open' is not a member of 'OGRSFDriverRegistrar' this->Source = OGRSFDriverRegistrar::Open( srcName, srcMode, &this->Driver ); ^ /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx: In destructor 'vtkGDALVectorReader::Internal::~Internal()': /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx:64:22: warning: 'static void OGRDataSource::DestroyDataSource(OGRDataSource*)' is deprecated [-Wdeprecated-declarations] OGRDataSource::DestroyDataSource( this->Source ); ^ In file included from /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx:32:0: /usr/include/ogrsf_frmts.h:245:25: note: declared here static void DestroyDataSource( OGRDataSource * ) OGR_DEPRECATED("Use GDALDataset class instead"); ^ /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx:64:54: warning: 'static void OGRDataSource::DestroyDataSource(OGRDataSource*)' is deprecated [-Wdeprecated-declarations] OGRDataSource::DestroyDataSource( this->Source ); ^ In file included from /build/vtk/src/VTK-6.1.0/IO/GDAL/vtkGDALVectorReader.cxx:32:0: /usr/include/ogrsf_frmts.h:245:25: note: declared here static void DestroyDataSource( OGRDataSource * ) OGR_DEPRECATED("Use GDALDataset class instead"); ^ IO/GDAL/CMakeFiles/vtkIOGDAL.dir/build.make:72: recipe for target 'IO/GDAL/CMakeFiles/vtkIOGDAL.dir/vtkGDALVectorReader.cxx.o' failed make[2]: *** [IO/GDAL/CMakeFiles/vtkIOGDAL.dir/vtkGDALVectorReader.cxx.o] Error 1 CMakeFiles/Makefile2:27630: recipe for target 'IO/GDAL/CMakeFiles/vtkIOGDAL.dir/all' failed make[1]: *** [IO/GDAL/CMakeFiles/vtkIOGDAL.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... gdal 2.0 changed its API http://svn.osgeo.org/gdal/trunk/gdal/MIGRATION_GUIDE.TXT [^] and corresponding changes has to be done in VTK. I found this thread that shows similar problem with proposed solution https://12435320936546247995.googlegroups.com/attach/cd7aca657fcbaa6/OGR.txt?part=0.1&view=1&vt=ANaJVrH7EU5Ja4C-Oo9kS4jp8SfE2IwqQ-gnWGYNWEkYeJpF23JXOewqXdkBy-8Mpt67Il-Ge3pS01p7jFeIFi9I7AaGk3acM8zcXTxt_rAQPCuo5mM2A4A [^] | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-08-27 13:10 | Morgulis | New Issue | |||
2015-09-24 00:23 | Morgulis | Note Added: 0035242 | |||
2015-10-03 17:15 | Ray Rashif | Note Added: 0035258 | |||
2016-01-08 10:25 | Dave DeMarle | Note Added: 0035640 | |||
2016-07-06 11:08 | Berk Geveci | Assigned To | => Aashish Chaudhary | ||
2016-08-12 09:55 | Kitware Robot | Note Added: 0037407 | |||
2016-08-12 09:55 | Kitware Robot | Status | backlog => closed | ||
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|