Opened 9 years ago
Last modified 9 years ago
#2353 new defect
Error building with GDAL 2.0.0
Reported by: | samtux | Owned by: | mlucas |
---|---|---|---|
Priority: | highest | Milestone: | OMAR Dec 2012 |
Component: | Packaging | Version: | ossim/OMAR 1.8.14-3 |
Severity: | critical | Keywords: | ver=1.8.18 |
Cc: |
Description
I get the error when compiling on ArchLinux platform with GAL 2.0.0 version.
The installation instructions are as follows:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ossim
Scanning dependencies of target ossimopencv_plugin [ 53%] Building CXX object ossim_plugins/ndf/CMakeFiles/ossimndf_plugin.dir/ossimNdfPluginInit.cpp.o [ 54%] Built target ossimlibraw_plugin [ 54%] Building CXX object ossim_plugins/ndf/CMakeFiles/ossimndf_plugin.dir/ndf_test.cpp.o [ 60%] Built target ossim_plugin [ 60%] Building CXX object ossim_plugins/ndf/CMakeFiles/ossimndf_plugin.dir/ossimNdfTileSource.cpp.o [ 60%] Building CXX object ossim_plugins/opencv/CMakeFiles/ossimopencv_plugin.dir/ossimIvtGeomXform.cpp.o [ 60%] Building CXX object ossim_plugins/ndf/CMakeFiles/ossimndf_plugin.dir/ossimNdfHeader.cpp.o /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp: En la función miembro ‘virtual bool ossimGdalOgrVectorAnnotation::open(const ossimFilename&)’: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:290:20: error: ‘Open’ no es un miembro de ‘OGRSFDriverRegistrar’ theDataSource = OGRSFDriverRegistrar::Open( file.c_str(), false, &theDriver ); ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findConnectableObject(const ossimId&)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:103:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findConnectableObject( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findObjectOfType(RTTItypeid, ossimConnectableObject::ossimConnectableObjectDirectionType, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:119:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findObjectOfType(const ossimString&, ossimConnectableObject::ossimConnectableObjectDirectionType, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:137:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findInputObjectOfType(const ossimString&)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:155:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findInputObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual void ossimConnectableObject::findAllObjectsOfType(ossimConnectableObject::ConnectableObjectList&, const RTTItypeid&, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:420:41: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual void findAllObjectsOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:304:1: aviso: ‘virtual void ossimConnectableObject::findAllObjectsOfType(ossimConnectableObject::ConnectableObjectList&, const ossimString&, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimErrorCodes.h:18:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfHeader.h:13, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/ndf/ossimNdfTileSource.cpp:7: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:437:40: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual void findAllObjectsOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ [ 60%] Building CXX object ossim_plugins/opencv/CMakeFiles/ossimopencv_plugin.dir/ossimIvtGeomXformVisitor.cpp.o [ 60%] Building CXX object ossim_plugins/ndf/CMakeFiles/ossimndf_plugin.dir/ossimNdfReaderFactory.cpp.o /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp: En el ámbito global: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findConnectableObject(const ossimId&)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:103:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findConnectableObject( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findObjectOfType(RTTItypeid, ossimConnectableObject::ossimConnectableObjectDirectionType, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:119:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findObjectOfType(const ossimString&, ossimConnectableObject::ossimConnectableObjectDirectionType, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:137:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual ossimConnectableObject* ossimConnectableObject::findInputObjectOfType(const ossimString&)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:155:59: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual ossimConnectableObject* findInputObjectOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual void ossimConnectableObject::findAllObjectsOfType(ossimConnectableObject::ConnectableObjectList&, const RTTItypeid&, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:420:41: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual void findAllObjectsOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:2536:1: aviso: ‘virtual void ossimConnectableObject::findAllObjectsOfType(ossimConnectableObject::ConnectableObjectList&, const ossimString&, bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimRtti.h:119:0, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimViewInterface.h:11, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.h:23, from /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim_plugins/gdal/ossimGdalOgrVectorAnnotation.cpp:9: /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConnectableObject.h:437:40: nota: se declara aquí OSSIM_DEPRECATE_METHOD(virtual void findAllObjectsOfType( ^ /home/samtux/Manjaro/aur/ossim/src/ossim-1.8.18/ossim/include/ossim/base/ossimConstants.h:34:41: nota: in definition of macro ‘OSSIM_DEPRECATE_METHOD’ # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) ^ ossim_plugins/gdal/CMakeFiles/ossimgdal_plugin.dir/build.make:326: fallo en las instrucciones para el objetivo 'ossim_plugins/gdal/CMakeFiles/ossimgdal_plugin.dir/ossimGdalOgrVectorAnnotation.cpp.o' make[2]: *** [ossim_plugins/gdal/CMakeFiles/ossimgdal_plugin.dir/ossimGdalOgrVectorAnnotation.cpp.o] Error 1 CMakeFiles/Makefile2:4837: fallo en las instrucciones para el objetivo 'ossim_plugins/gdal/CMakeFiles/ossimgdal_plugin.dir/all' make[1]: *** [ossim_plugins/gdal/CMakeFiles/ossimgdal_plugin.dir/all] Error 2 make[1]: *** Se espera a que terminen otras tareas.... [ 60%] Building CXX object ossim_plugins/opencv/CMakeFiles/ossimopencv_plugin.dir/ossimOpenCvPluginInit.cpp.o [ 60%] Building CXX object ossim_plugins/opencv/CMakeFiles/ossimopencv_plugin.dir/ossimTieMeasurementGenerator.cpp.o [ 60%] Building CXX object ossim_plugins/opencv/CMakeFiles/ossimopencv_plugin.dir/ossimOpenCvObjectFactory.cpp.o [ 60%] Linking CXX shared library ../../usr/lib/libossimndf_plugin.so [ 60%] Built target ossimndf_plugin [ 60%] Linking CXX shared library ../../usr/lib/libossimopencv_plugin.so [ 60%] Built target ossimopencv_plugin Makefile:127: fallo en las instrucciones para el objetivo 'all' make: *** [all] Error 2
Change History (1)
comment:1 by , 9 years ago
Component: | Algorithms/Functionality → Packaging |
---|---|
Milestone: | → OMAR Dec 2012 |
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.