From: Toby C. <tco...@pl...> - 2009-06-04 09:59:09
|
That must have been introduced in geos 3.1 then, I have 3.0 installed Toby 2009/6/4 Paul Osmialowski <new...@ki...> > That's odd, since it compiles fine for me. I've looked at geos_c.h and it > is defined: > typedef struct GEOSContextHandle_HS *GEOSContextHandle_t; > > What version of geos do you have? GEOS2 definitely does not have this > type, as threaded safety was added in GEOS3. > > I've unmasked ~x86 mask in Gentoo and was able to install GEOS3: > > $ geos-config --version > 3.1.0 > > make sure geos_c.h is actually included while preprocessing playerwkb.h > file. > > Paul > > On Thu, 4 Jun 2009, Toby Collett wrote: > > > I have added the files you sent me the other day to svn, currently the > > libplayerwkb lib is commented out in the top level CMakeLists.txt as it > > doesnt build for me, seems to be unable to find GEOSContextHandle. > > > > player_trunk/libplayerwkb/playerwkb.h:20: error: expected ?=?, ?,?, ?;?, > > ?asm? or ?__attribute__? before playerwkbprocessor_t? > > player_trunk/libplayerwkb/playerwkb.h:35: error: expected ?=?, ?,?, ?;?, > > ?asm? or ?__attribute__? before ?player_wkb_create_processor? > > > > Can you have a look at latest svn trunk and make sure I have added the > right > > files? > > > > 2009/6/2 Toby Collett > > <tco...@pl... <tcollett%2Bp...@pl...>< > tcollett%2Bp...@pl... <tcollett%252...@pl...>> > >> > > > >> okay, I will look into it. > >> > >> Toby > >> > >> 2009/6/2 Paul Osmialowski <new...@ki...> > >> > >> It would be much easier for me to release a patch iff libplayerwkb is > >>> already there (in the trunk) > >>> > >>> Paul > >>> > >>> On Tue, 2 Jun 2009, Toby Collett wrote: > >>> > >>>> Hi Paul, > >>>> I know this is a bit of a pain, but are you able to collect all your > >>>> vector/wkb related patches together into a single set that is able to > be > >>>> cleanly applied to svn trunk and we can try apply them. > >>>> > >>>> The idea of the get_feature_data accessor method was partially to aid > >>> with > >>>> swigged interfaces I think which have some difficulty accessing > dynamic > >>>> sized arrays... > >>>> > >>>> Toby > >>>> > >>>> It has two problems: > >>>> 1. Definition and size of geom field is different when GEOS is > installed > >>>> at Player building time, this is bad. > >>>> 2. It does not give any information about wkb for this geometry and > its > >>>> size in bytes (needed for new implementation of > player_wkb_process_wkb() > >>>> function) > >>>> > >>>> It can be easily changed: geom field should be dropped, all required > >>>> informations are in layers_data field (layers_data[i].features[j]. > >>>>> > >>>>> wkb). > >>>>> > >>>>> The playerc_vectormap_get_feature_data() function that returns > GEOSGeom > >>>>> can be simply dropped from libplayerc, playerv can be easily > rewritten > >>> not > >>>>> to use this (see one of my big not-accepted patches some months ago, > >>> I'm > >>>>> still using this code for my experiments). Whole idea of this > function > >>> is, > >>>>> well, strange, it returns pointer to the field in device proxy, the > >>>>> nature of libplayerc suggests this function should be declared void > and > >>>>> the data should be accessed through the pointer to the device proxy > >>>>> structure (nevermind, this function should be dropped for real). > >>>>> > >>>>> Bounding box function is not needed here: all informations about > >>> boundary > >>>>> area is provided in field called 'extent' by subscribed driver (see > >>> code > >>>>> above taken from postgis driver). > >>>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >>> looking to deploy the next generation of Solaris that includes the > latest > >>> innovations from Sun and the OpenSource community. Download a copy and > >>> enjoy capabilities such as Networking, Storage and Virtualization. > >>> Go to: http://p.sf.net/sfu/opensolaris-get > >>> _______________________________________________ > >>> Playerstage-developers mailing list > >>> Pla...@li... > >>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers > >>> > >> > >> > >> > >> -- > >> This email is intended for the addressee only and may contain privileged > >> and/or confidential information > >> > > > > > > > > -- > > This email is intended for the addressee only and may contain privileged > > and/or confidential information > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Playerstage-developers mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-developers > -- This email is intended for the addressee only and may contain privileged and/or confidential information |