Hello, everyone I cannot compile merkaartor on my Debian testing system. I attach error log.
In this same system I compiled it several times, and AFAIK I haven't changed anything related to -dev libraries Any idea?
cd src/ && make -f Makefile make[1]: se ingresa al directorio `/home/david/Cosas/Soft/Linux/GIS/merkaartor/src' g++ -c -pipe -g -Wall -W -D_REENTRANT -DVERSION=0.16 -DREVISION=-svn -DUSE_WEBKIT -D_TTY_POSIX_ -DUSE_GPS -DPLUGINS_DIR=/usr/local/lib/merkaartor/plugins -DSHARE_DIR=/usr/local/share/merkaartor -DTRANSDIR_MERKAARTOR=/usr/local/share/merkaartor/translations -DGEOIMAGE -DUSE_GDAL -DWORLD_SHP=/usr/local/share/merkaartor/world_background.osb -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../include -I../interfaces -I. -IRender -Iqextserialport -IGPS -INameFinder -IFeatures -ILayers -ISync -ICommands -IInteractions -IDocks -IImportExport -ITools -ITagTemplate -I. -I. -o ImportExportSHP.o ImportExport/ImportExportSHP.cpp ImportExport/ImportExportSHP.cpp:18:25: error: ogrsf_frmts.h: No existe el fichero o el directorio ImportExport/ImportExportSHP.cpp:42: warning: unused parameter ‘filename’ ImportExport/ImportExportSHP.cpp: In member function ‘void ImportExportSHP::parseGeometry(Layer*, OGRGeometry*)’: ImportExport/ImportExportSHP.cpp:62: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:62: error: ‘wkbFlatten’ was not declared in this scope ImportExport/ImportExportSHP.cpp:62: error: ‘wkbPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:64: error: ‘OGRPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:64: error: ‘poPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:64: error: expected primary-expression before ‘)’ token ImportExport/ImportExportSHP.cpp:64: error: expected ‘;’ before ‘poGeometry’ ImportExport/ImportExportSHP.cpp:75: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:75: error: ‘wkbPolygon’ was not declared in this scope ImportExport/ImportExportSHP.cpp:77: error: ‘OGRPolygon’ was not declared in this scope ImportExport/ImportExportSHP.cpp:77: error: ‘poPoly’ was not declared in this scope ImportExport/ImportExportSHP.cpp:77: error: expected primary-expression before ‘)’ token ImportExport/ImportExportSHP.cpp:77: error: expected ‘;’ before ‘poGeometry’ ImportExport/ImportExportSHP.cpp:78: error: ‘OGRLinearRing’ was not declared in this scope ImportExport/ImportExportSHP.cpp:78: error: ‘poRing’ was not declared in this scope ImportExport/ImportExportSHP.cpp:79: error: ‘OGRPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:79: error: expected ‘;’ before ‘p’ ImportExport/ImportExportSHP.cpp:85: error: ‘p’ was not declared in this scope ImportExport/ImportExportSHP.cpp:103: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:103: error: ‘wkbLineString’ was not declared in this scope ImportExport/ImportExportSHP.cpp:105: error: ‘OGRLineString’ was not declared in this scope ImportExport/ImportExportSHP.cpp:105: error: ‘poLS’ was not declared in this scope ImportExport/ImportExportSHP.cpp:105: error: expected primary-expression before ‘)’ token ImportExport/ImportExportSHP.cpp:105: error: expected ‘;’ before ‘poGeometry’ ImportExport/ImportExportSHP.cpp:106: error: ‘OGRPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:106: error: expected ‘;’ before ‘p’ ImportExport/ImportExportSHP.cpp:111: error: ‘p’ was not declared in this scope ImportExport/ImportExportSHP.cpp:127: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:127: error: ‘wkbMultiPolygon’ was not declared in this scope ImportExport/ImportExportSHP.cpp:128: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:128: error: ‘wkbMultiLineString’ was not declared in this scope ImportExport/ImportExportSHP.cpp:129: error: invalid use of incomplete type ‘struct OGRGeometry’ ImportExport/../ImportExport/ImportExportSHP.h:19: error: forward declaration of ‘struct OGRGeometry’ ImportExport/ImportExportSHP.cpp:129: error: ‘wkbMultiPoint’ was not declared in this scope ImportExport/ImportExportSHP.cpp:132: error: ‘OGRGeometryCollection’ was not declared in this scope ImportExport/ImportExportSHP.cpp:132: error: ‘poCol’ was not declared in this scope ImportExport/ImportExportSHP.cpp:132: error: expected primary-expression before ‘)’ token ImportExport/ImportExportSHP.cpp:132: error: expected ‘;’ before ‘poGeometry’ ImportExport/ImportExportSHP.cpp: In member function ‘virtual bool ImportExportSHP::import(Layer*)’: ImportExport/ImportExportSHP.cpp:145: error: ‘OGRRegisterAll’ was not declared in this scope ImportExport/ImportExportSHP.cpp:147: error: ‘OGRDataSource’ was not declared in this scope ImportExport/ImportExportSHP.cpp:147: error: ‘poDS’ was not declared in this scope ImportExport/ImportExportSHP.cpp:150: error: ‘OGRSFDriverRegistrar’ has not been declared ImportExport/ImportExportSHP.cpp:157: error: ‘OGRLayer’ was not declared in this scope ImportExport/ImportExportSHP.cpp:157: error: ‘poLayer’ was not declared in this scope ImportExport/ImportExportSHP.cpp:161: error: ‘OGRSpatialReference’ was not declared in this scope ImportExport/ImportExportSHP.cpp:161: error: ‘theSrs’ was not declared in this scope ImportExport/ImportExportSHP.cpp:165: error: ‘OGRERR_NONE’ was not declared in this scope ImportExport/ImportExportSHP.cpp:168: error: ‘CPLGetLastErrorMsg’ was not declared in this scope ImportExport/ImportExportSHP.cpp:175: error: ‘OGRFeature’ was not declared in this scope ImportExport/ImportExportSHP.cpp:175: error: ‘poFeature’ was not declared in this scope ImportExport/ImportExportSHP.cpp:193: error: ‘OGRFeature’ is not a class or namespace ImportExport/ImportExportSHP.cpp:196: error: ‘OGRDataSource’ is not a class or namespace make[1]: *** [ImportExportSHP.o] Error 1 make[1]: se sale del directorio `/home/david/Cosas/Soft/Linux/GIS/merkaartor/src' make: *** [sub-src-make_default] Error 2
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Merkaartor mailing list [email protected] http://lists.openstreetmap.org/listinfo/merkaartor
