[gdal-dev] 1.7.0 MSYS build broken in GPX

Roger Bivand Roger.Bivand at nhh.no
Thu Dec 10 04:25:31 EST 2009


Hi,

I've probably missed something, but while 1.6.3 builds OK with EXPAT for 
GPX on MSYS, 1.7.0 revision 18238 doesn't. The problem is in:

libtool: compile:  g++ -O2 -Wall -I.. -I../.. -I/usr/local/include 
-I/home/s1155 /gdal_svn/gdal/port -I/home/s1155/gdal_svn/gdal/gcore 
-I/home/s1155/gdal_svn/gdal/alg -I/home/s1155/gdal_svn/gdal/ogr 
-I/home/s1155/gdal_svn/gdal/ogr/ogrsf_frmts -DOGR_ENABLED
-I/home/s1155/gdal_svn/gdal/port -DHAVE_EXPAT -c ogrgpxlayer.cpp
-DDLL_EXPORT -DPIC -o ../o/.libs/ogrgpxlayer.o
ogrgpxlayer.cpp: In function 'char* OGRGPX_GetUTF8String(const char*)':
ogrgpxlayer.cpp:1088: error: 'CPLIsUTF8' was not declared in this scope
ogrgpxlayer.cpp:1106: error: 'CPLForceToASCII' was not declared in this 
scope
make[3]: *** [../o/ogrgpxlayer.lo] Error 1

I can't see why CPLIsUTF8 is not being picked up from port/cpl_strings.h. 
These are recent changes - has anyone else seen the problem?

Motivation - trying to build an rgdal Windows binary using MSYS in the 
usual way to let R/SAGA people try out the GDAL SAGA driver. I could drop 
expat for now, but I'll need it again when 1.7.0 is released for GPX and 
KML.

Grateful for pointers,

Roger

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the gdal-dev mailing list