[ZOO-Discuss] Boundary ZOO Service

Gérald Fenoy gerald.fenoy at geolabs.fr
Tue Feb 15 06:05:33 PST 2011


Dear Quang,
in other case you can always comment the function which cause trouble
 and you'll maybe find a way to get the Delaunay function working.

I know that the Voronoi worked when we tested it, we used some data 
provided by 3liz and built a demo on top of this dataset [1]. It worked like a 
charm until 3liz remove the dataset they gave us access to. Maybe you 
can first start using the demo page and test the Voronoi Service which 
should work, then test using your own dataset.

As we spoken together about this old Demo page I was able to port this 
old demo page on the trac, so it is now even accessible from the 
official ZOO-Project web site [2].

So it you're interested in the CGAL library you should probably know it 
better than I do, it can be a real asset to get the Delaunay function 
working even if we already get those algorithms  available from 
GRASS7 WPS Bridge made available by Soeren Gebbert (which I 
thanks one more time for his welcomed help in such a task).

Hope you can solve the issue about Delaunay service and hope this 
new demo page can help you in testing the Voronoï algorithm from the 
CGAL library.

Best regards,


[1] http://zoo-project.org/ogr/cgal-demo.html
[2] http://zoo-project.org/site/ZooWebSite/Demo/CGAL


Le 14 févr. 2011 à 17:20, truongxuan quang a écrit :

> Dear Gérald
> 
> Thank for all you help...I will move to the ogr/base-vect-ops first and if I have time I will look back for CGAL, because CGAL's library attracted me.
> 
> I will focus in next section if I face any doubts please help me again.
> 
> Thank you very much
> 
> Quang 
> 
> 
> 
> From: Gérald Fenoy <gerald.fenoy at geolabs.fr>
> To: truongxuan quang <truongxuanquang at yahoo.com>
> Cc: zoo-discuss <zoo-discuss at gisws.media.osaka-cu.ac.jp>
> Sent: Mon, February 14, 2011 4:43:55 PM
> Subject: Re: [ZOO-Discuss] Boundary ZOO Service
> 
> Dear Quang,
> as I think you was trying the Workshop material, you shouldn't download any source code
> from the SVN tree ... You should create an empty file and fill it with the content provided in
> the workshop material.
> 
> CGAL service seems to get trouble, we tried it some *years* ago with probably an older 
> CGAL version ... not sure.
> 
> Probably switching to the ogr/base-vect-ops, which is the service used in the workshop 
> material would be easier.
> 
> Hope to hear from you,
> Best,
> 
> Le 14 févr. 2011 à 15:32, truongxuan quang a écrit :
> 
>> 
>> Dear Gérald
>> 
>> Thank you very much as you said, I have changed /home/user/zoows/sources/zoo-services/ws_sp/service.c file line 265  from Vertex_circulator vc = .... to Vertex_circulator* vc = .... and the feedback comment as you can see below. Gérald, I just remember when I created ws_sp main Services Provider directory in the existing zoo-services by 
>> mkdir -p /home/user/zoows/sources/zoo-services/ws_sp/cgi-env
>> There was not include service.c inside ws_sp I had copied service.c from http://zoo-project.org/trac/browser/branches/branch-1.2/zoo-services/cgal/service.c it is right in this case ?
>> 
>> root at truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# g++ $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS
>> ./service.c: In function ‘void* createGeometryFromGML(maps*, char*)’:
>> ./service.c:75: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c: In function ‘int Delaunay(maps*&, maps*&, maps*&)’:
>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:183: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:187: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:265: error: cannot convert ‘CGAL::Triangulation_ds_vertex_circulator_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Triangulation_euclidean_traits_xy_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL::Triangulation_ds_face_base_2<void> > >’ to ‘Vertex_circulator*’ in initialization
>> ./service.c:268: error: ‘class CGAL::Triangulation_ds_vertex_circulator_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL::Triangulation_ds_face_base_2<void> > >’ has no member named ‘point’
>> ./service.c:379: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:384: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__off_t’
>> ./service.c: In function ‘int Voronoi(maps*&, maps*&, maps*&)’:
>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:476: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:480: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>> ./service.c:595: warning: deprecated conversion from string constant to ‘char*’
>> 
>> Thanks
>> 
>> Quang
>> From: Gérald Fenoy <gerald.fenoy at geolabs.fr>
>> To: truongxuan quang <truongxuanquang at yahoo.com>
>> Cc: zoo-discuss <zoo-discuss at gisws.media.osaka-cu.ac.jp>
>> Sent: Mon, February 14, 2011 1:06:16 PM
>> Subject: Re: [ZOO-Discuss] Boundary ZOO Service
>> 
>> Dear Quang,
>> thanks for your investigations.
>> 
>> I suppose that on your line 265 you get the following :
>> 
>>  Vertex_circulator vc = ....
>> 
>> Please, try to use this :
>> 
>>  Vertex_circulator* vc = ....
>> 
>> 
>> Hope this help and you will give us feedback,
>> best
>> 
>> Le 14 févr. 2011 à 12:50, truongxuan quang a écrit :
>> 
>>> Dear Gérald 
>>> 
>>> Thank you for your help. I have checked again ../../zoo-kernel/service_internal.o, it missed service_internal.o file, I had copy from zoows.tar.bz2 I already avoid previous error "No such file or directory". But there is still error 265 in my command,  Could you please have a look for responsive inform bellow 
>>> 
>>> root at truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# g++ $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS
>>> ./service.c: In function ‘void* createGeometryFromGML(maps*, char*)’:
>>> ./service.c:75: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c: In function ‘int Delaunay(maps*&, maps*&, maps*&)’:
>>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:183: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:187: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:265: error: conversion from ‘CGAL::Triangulation_ds_vertex_circulator_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Triangulation_euclidean_traits_xy_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL::Triangulation_ds_face_base_2<void> > >’ to non-scalar type ‘Vertex_circulator’ requested
>>> ./service.c:379: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:384: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__off_t’
>>> ./service.c: In function ‘int Voronoi(maps*&, maps*&, maps*&)’:
>>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:476: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:480: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>>> ./service.c:595: warning: deprecated conversion from string constant to ‘char*’
>>> 
>>>  in this directory  /usr/include/CGAL there is not including Triangulation_ds_vertex_circulator_2.h file as 265 error said.
>>> 
>>> please help me to fix the error.
>>> 
>>> Thank you very much and have a nice day 
>>> 
>>> T.X.Quang
>>> From: Gérald Fenoy <gerald.fenoy at geolabs.fr>
>>> To: truongxuan quang <truongxuanquang at yahoo.com>
>>> Cc: zoo-discuss <zoo-discuss at gisws.media.osaka-cu.ac.jp>
>>> Sent: Fri, February 11, 2011 7:34:55 PM
>>> Subject: Re: [ZOO-Discuss] Boundary ZOO Service
>>> 
>>> Quang,
>>> I noticed something a bit strange in the error messages you shown to me.
>>> 
>>> g++ is not able to find ../../zoo-kernel/service_internal.o from your ws_sp directory.
>>> Can you ensure that when you do "ls ../../zoo-kernel/service_internal.o" it gives you 
>>> the file name rather than a message explaining that there is no file with that name.
>>> If you don't get the file, then you will probably have to compile zoo-kernel in the
>>> ../../zoo-kernel directory.
>>> 
>>> Once you get the compiled ZOO-Kernel you should solve one issue. Then there 
>>> is still the error about the line 265 of the service.c file. Let see if we can go to this
>>> last step.
>>> 
>>> Hope it helps,
>>> Best
>>> 
>>> 
>>> Le 11 févr. 2011 à 18:33, truongxuan quang a écrit :
>>> 
>>>> Dear Gérald
>>>> 
>>>> Thanks!  exactly I was missing CGAL so after install, it look better, I sent you the result what I have got.
>>>>  
>>>> root at truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# g++ $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS
>>>> g++: ../../zoo-kernel/service_internal.o: No such file or directory
>>>> ./service.c: In function ‘void* createGeometryFromGML(maps*, char*)’:
>>>> ./service.c:75: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c: In function ‘int Delaunay(maps*&, maps*&, maps*&)’:
>>>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:122: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:142: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:181: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:183: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:187: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:230: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:265: error: conversion from ‘CGAL::Triangulation_ds_vertex_circulator_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Triangulation_euclidean_traits_xy_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL::Triangulation_ds_face_base_2<void> > >’ to non-scalar type ‘Vertex_circulator’ requested
>>>> ./service.c:379: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:384: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__off_t’
>>>> ./service.c: In function ‘int Voronoi(maps*&, maps*&, maps*&)’:
>>>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:417: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:437: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:474: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:476: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:480: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:523: warning: deprecated conversion from string constant to ‘char*’
>>>> ./service.c:595: warning: deprecated conversion from string constant to ‘char*’
>>>> 
>>>> Thank you and waiting for last help 
>>>> Best,
>>>> T.X.Quang
>>>> 
>>>> From: Gérald Fenoy <gerald.fenoy at geolabs.fr>
>>>> To: truongxuan quang <truongxuanquang at yahoo.com>
>>>> Cc: zoo-discuss <zoo-discuss at gisws.media.osaka-cu.ac.jp>
>>>> Sent: Fri, February 11, 2011 5:36:32 PM
>>>> Subject: Re: [ZOO-Discuss] Boundary ZOO Service
>>>> 
>>>> Dear Quang,
>>>> scuse me, at the beginning you used g++ so I didn't noticed that after you changed for
>>>> g++. It seems you need to use g++ in your case.
>>>> 
>>>> Your service provider is depending on CGAL. Are you sure you get it installed on your
>>>> OSGeoLiveDVD platform ?
>>>> 
>>>> If not, you probably would use the following command to install CGAL library and 
>>>> header files (the -dev package in the Debian world):
>>>>   sudo apt-install search libcgal-dev
>>>> 
>>>> Maybe your service provider doesn't need GDAL library, in such case, please, remove 
>>>> the include lines mentioning the CGAL directory.
>>>> 
>>>> Hope it help,
>>>> Best,
>>>> 
>>>> Le 11 févr. 2011 à 17:18, truongxuan quang a écrit :
>>>> 
>>>>> 
>>>>> Thank you for help,  I am  sorry!!! but I need you help again because it still getting errors  after run the 3rd command 
>>>>> 
>>>>> root at truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# gcc $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS
>>>>> 
>>>>> gcc: ../../zoo-kernel/service_internal.o: No such file or directory
>>>>> ./service.c:1:64: error: CGAL/Exact_predicates_inexact_constructions_kernel.h: No such file or directory
>>>>> ./service.c:2:54: error: CGAL/Triangulation_euclidean_traits_xy_3.h: No such file or directory
>>>>> ./service.c:3:43: error: CGAL/Delaunay_triangulation_2.h: No such file or directory
>>>>> ./service.c:4:55: error: CGAL/Constrained_Delaunay_triangulation_2.h: No such file or directory
>>>>> ./service.c:5:44: error: CGAL/Triangulation_conformer_2.h: No such file or directory
>>>>> ./service.c:6:44: error: CGAL/Triangulation_face_base_2.h: No such file or directory
>>>>> ./service.c:8:19: error: fstream: No such file or directory
>>>>> In file included from /usr/include/gdal/ogr_geometry.h:35,
>>>>>                  from /usr/include/gdal/ogr_feature.h:33,
>>>>>                  from /usr/include/gdal/ogrsf_frmts.h:33,
>>>>>                  from ./service.c:12:
>>>>> /usr/include/gdal/ogr_spatialref.h:59: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_spatialref.h:59: error: expected ‘,’ or ‘;’ before ‘OGR_SRSNode’
>>>>> /usr/include/gdal/ogr_spatialref.h:127: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_spatialref.h:127: error: expected ‘,’ or ‘;’ before ‘OGRSpatialReference’
>>>>> /usr/include/gdal/ogr_spatialref.h:515: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_spatialref.h:515: error: expected ‘,’ or ‘;’ before ‘OGRCoordinateTransformation’
>>>>> /usr/include/gdal/ogr_spatialref.h:571: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_spatialref.h:571: error: expected ‘,’ or ‘;’ before ‘*’ token
>>>>> In file included from /usr/include/gdal/ogr_feature.h:33,
>>>>>                  from /usr/include/gdal/ogrsf_frmts.h:33,
>>>>>                  from ./service.c:12:
>>>>> /usr/include/gdal/ogr_geometry.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRRawPoint’
>>>>> /usr/include/gdal/ogr_geometry.h:80: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:80: error: expected ‘,’ or ‘;’ before ‘OGRGeometry’
>>>>> /usr/include/gdal/ogr_geometry.h:169: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:169: error: expected ‘,’ or ‘;’ before ‘OGRPoint’
>>>>> /usr/include/gdal/ogr_geometry.h:224: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:224: error: expected ‘,’ or ‘;’ before ‘OGRCurve’
>>>>> /usr/include/gdal/ogr_geometry.h:246: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:246: error: expected ‘,’ or ‘;’ before ‘OGRLineString’
>>>>> /usr/include/gdal/ogr_geometry.h:338: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:338: error: expected ‘,’ or ‘;’ before ‘OGRLinearRing’
>>>>> /usr/include/gdal/ogr_geometry.h:381: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:381: error: expected ‘,’ or ‘;’ before ‘OGRSurface’
>>>>> /usr/include/gdal/ogr_geometry.h:402: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:402: error: expected ‘,’ or ‘;’ before ‘OGRPolygon’
>>>>> /usr/include/gdal/ogr_geometry.h:468: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:468: error: expected ‘,’ or ‘;’ before ‘OGRGeometryCollection’
>>>>> /usr/include/gdal/ogr_geometry.h:528: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:528: error: expected ‘,’ or ‘;’ before ‘OGRMultiPolygon’
>>>>> /usr/include/gdal/ogr_geometry.h:553: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:553: error: expected ‘,’ or ‘;’ before ‘OGRMultiPoint’
>>>>> /usr/include/gdal/ogr_geometry.h:579: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:579: error: expected ‘,’ or ‘;’ before ‘OGRMultiLineString’
>>>>> /usr/include/gdal/ogr_geometry.h:604: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_geometry.h:604: error: expected ‘,’ or ‘;’ before ‘OGRGeometryFactory’
>>>>> In file included from /usr/include/gdal/ogr_feature.h:34,
>>>>>                  from /usr/include/gdal/ogrsf_frmts.h:33,
>>>>>                  from ./service.c:12:
>>>>> /usr/include/gdal/ogr_featurestyle.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRFeature’
>>>>> /usr/include/gdal/ogr_featurestyle.h:81: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:81: error: expected ‘,’ or ‘;’ before ‘OGRStyleTable’
>>>>> /usr/include/gdal/ogr_featurestyle.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRStyleTool’
>>>>> /usr/include/gdal/ogr_featurestyle.h:115: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:115: error: expected ‘,’ or ‘;’ before ‘OGRStyleMgr’
>>>>> /usr/include/gdal/ogr_featurestyle.h:159: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:159: error: expected ‘,’ or ‘;’ before ‘OGRStyleTool’
>>>>> /usr/include/gdal/ogr_featurestyle.h:242: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:242: error: expected ‘,’ or ‘;’ before ‘OGRStylePen’
>>>>> /usr/include/gdal/ogr_featurestyle.h:290: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:290: error: expected ‘,’ or ‘;’ before ‘OGRStyleBrush’
>>>>> /usr/include/gdal/ogr_featurestyle.h:337: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:337: error: expected ‘,’ or ‘;’ before ‘OGRStyleSymbol’
>>>>> /usr/include/gdal/ogr_featurestyle.h:395: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_featurestyle.h:395: error: expected ‘,’ or ‘;’ before ‘OGRStyleLabel’
>>>>> In file included from /usr/include/gdal/ogrsf_frmts.h:33,
>>>>>                  from ./service.c:12:
>>>>> /usr/include/gdal/ogr_feature.h:51: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_feature.h:51: error: expected ‘,’ or ‘;’ before ‘OGRFieldDefn’
>>>>> /usr/include/gdal/ogr_feature.h:113: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_feature.h:113: error: expected ‘,’ or ‘;’ before ‘OGRFeatureDefn’
>>>>> /usr/include/gdal/ogr_feature.h:159: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_feature.h:159: error: expected ‘,’ or ‘;’ before ‘OGRFeature’
>>>>> /usr/include/gdal/ogr_feature.h:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRLayer’
>>>>> /usr/include/gdal/ogr_feature.h:298: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogr_feature.h:298: error: expected ‘,’ or ‘;’ before ‘OGRFeatureQuery’
>>>>> In file included from ./service.c:12:
>>>>> /usr/include/gdal/ogrsf_frmts.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRLayerAttrIndex’
>>>>> /usr/include/gdal/ogrsf_frmts.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRSFDriver’
>>>>> /usr/include/gdal/ogrsf_frmts.h:54: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogrsf_frmts.h:54: error: expected ‘,’ or ‘;’ before ‘OGRLayer’
>>>>> /usr/include/gdal/ogrsf_frmts.h:152: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogrsf_frmts.h:152: error: expected ‘,’ or ‘;’ before ‘OGRDataSource’
>>>>> /usr/include/gdal/ogrsf_frmts.h:231: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogrsf_frmts.h:231: error: expected ‘,’ or ‘;’ before ‘OGRSFDriver’
>>>>> /usr/include/gdal/ogrsf_frmts.h:264: warning: data definition has no type or storage class
>>>>> /usr/include/gdal/ogrsf_frmts.h:264: error: expected ‘,’ or ‘;’ before ‘OGRSFDriverRegistrar’
>>>>> ./service.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
>>>>> ./service.c:33: error: expected identifier or ‘(’ before string constant
>>>>> 
>>>>> Thanks
>>>>> T.X.Quang
>>>>> 

Gérald Fenoy
ZOO-PSC Chair
gerald.fenoy at geolabs.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110215/51304f0b/attachment.html>


More information about the Zoo-discuss mailing list