From: Paul Osmialowski <newchief@ki...> - 2008-06-09 05:37:04
For some reason my messages to this forum gets missing.
I don't know why it was added during cmake migration to libplayerc's playerc.h:
typedef void * GEOSGeom;
but to compile my GEOS-dependent client programs I had to rework their
makefiles to add -DHAVE_GEOS compilation flag. Othervise compilation fails with
error like this:
ecpg -o fillpf.cc fillpf.pgcc
c++ -Wall -c fillpf.cc `pkg-config playerc --cflags`
/usr/include/geos_c.h:63: error: conflicting declaration typedef struct
/root/psg22/include/player-2.2/libplayerc/playerc.h:62: error: GEOSGeom has a
previous declaration as typedef void* GEOSGeom
which wasn't an issue before cmake migration.