Ticket #1924 (closed defect: fixed)
GDAL with Xerces support
| Reported by: | buijten | Owned by: | mloskot |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.3 |
| Component: | ConfigBuild | Version: | unspecified |
| Severity: | normal | Keywords: | xerces ili interlis |
| Cc: | warmerdam |
Description
Hi,
I'm trying to compile GDAL with xerces on OS-X 10.4:
./configure --with-xerces --with-xerces-inc=/Library/xerces-c_2_8_0-gcc_4_0/include --with-xerces-lib="-L/Library/xerces-c_2_8_0-gcc_4_0/lib -lxerces-c -lpthread"
but make reports an error:
g++ -Wall -O2 -I/Library/xerces-c_2_8_0-gcc_4_0/include -I/Library/xerces-c_2_8_0-gcc_4_0/include/xercesc -DOGR_ENABLED -I/Users/admin/Desktop/gdal-1.4.2/port -I.. -c reader.cpp -fno-common -DPIC -o ../../o/.libs/reader.o
reader.cpp: In member function 'virtual void ParserHandler::startElement(const XMLCh*, const XMLCh*, const XMLCh*, const xercesc_2_8::Attributes&)': reader.cpp:250: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
Does anyone know more about this? Thanks!
