<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Dear Gérald<br><br>Thanks! exactly I was missing CGAL so after install, it look better, I sent you the result what I have got.<br> <br>root@truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# g++ $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS<br>g++: ../../zoo-kernel/service_internal.o: No such file or directory<br>./service.c: In function ‘void* createGeometryFromGML(maps*, char*)’:<br>./service.c:75: warning: deprecated conversion from string constant to ‘char*’<br>./service.c: In function ‘int Delaunay(maps*&, maps*&, maps*&)’:<br>./service.c:122: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:122: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:142:
warning: deprecated conversion from string constant to ‘char*’<br>./service.c:142: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:181: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:181: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:183: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:187: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:230: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:230: warning: deprecated conversion from string constant to ‘char*’<br>./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<br>./service.c:379: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:384: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘__off_t’<br>./service.c: In function ‘int Voronoi(maps*&, maps*&, maps*&)’:<br>./service.c:417: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:417: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:437: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:437: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:474: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:474: warning: deprecated conversion from string constant to
‘char*’<br>./service.c:476: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:480: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:523: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:523: warning: deprecated conversion from string constant to ‘char*’<br>./service.c:595: warning: deprecated conversion from string constant to ‘char*’<br><br>Thank you and waiting for last help <br>Best,<br>T.X.Quang<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Gérald Fenoy <gerald.fenoy@geolabs.fr><br><b><span style="font-weight: bold;">To:</span></b> truongxuan quang <truongxuanquang@yahoo.com><br><b><span style="font-weight:
bold;">Cc:</span></b> zoo-discuss <zoo-discuss@gisws.media.osaka-cu.ac.jp><br><b><span style="font-weight: bold;">Sent:</span></b> Fri, February 11, 2011 5:36:32 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [ZOO-Discuss] Boundary ZOO Service<br></font><br>
<base>Dear Quang,<div>scuse me, at the beginning you used g++ so I didn't noticed that after you changed for</div><div>g++. It seems you need to use g++ in your case.</div><div><br></div><div>Your service provider is depending on CGAL. Are you sure you get it installed on your</div><div>OSGeoLiveDVD platform ?</div><div><br></div><div>If not, you probably would use the following command to install CGAL library and </div><div>header files (the -dev package in the Debian world):</div><div> sudo apt-install search libcgal-dev</div><div><br></div><div>Maybe your service provider doesn't need GDAL library, in such case, please, remove </div><div>the include lines mentioning the CGAL directory.</div><div><br></div><div>Hope it help,</div><div>Best,</div><div><br><div><div>Le 11 févr. 2011 à 17:18, truongxuan quang a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin: 0px; font-family:
times,serif; font-size: 12pt;"><div style="margin: 0px;"><br>Thank you for help, I am sorry!!! but I need you help again because it still getting errors after run the 3rd command<span class="Apple-converted-space"> </span><br><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><br>root@truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# gcc $CFLAGS -shared -fpic -o cgi-env/ServiceProvidder.zo ./service.c $LDFLAGS</span><br><br>gcc: ../../zoo-kernel/service_internal.o: No such file or directory<br>./service.c:1:64: error: CGAL/Exact_predicates_inexact_constructions_kernel.h: No such file or directory<br>./service.c:2:54: error:
CGAL/Triangulation_euclidean_traits_xy_3.h: No such file or directory<br>./service.c:3:43: error: CGAL/Delaunay_triangulation_2.h: No such file or directory<br>./service.c:4:55: error: CGAL/Constrained_Delaunay_triangulation_2.h: No such file or directory<br>./service.c:5:44: error: CGAL/Triangulation_conformer_2.h: No such file or directory<br>./service.c:6:44: error: CGAL/Triangulation_face_base_2.h: No such file or directory<br>./service.c:8:19: error: fstream: No such file or directory<br>In file included from /usr/include/gdal/ogr_geometry.h:35,<br> from /usr/include/gdal/ogr_feature.h:33,<br> from /usr/include/gdal/ogrsf_frmts.h:33,<br> from
./service.c:12:<br>/usr/include/gdal/ogr_spatialref.h:59: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_spatialref.h:59: error: expected ‘,’ or ‘;’ before ‘OGR_SRSNode’<br>/usr/include/gdal/ogr_spatialref.h:127: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_spatialref.h:127: error: expected ‘,’ or ‘;’ before ‘OGRSpatialReference’<br>/usr/include/gdal/ogr_spatialref.h:515: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_spatialref.h:515: error: expected ‘,’ or ‘;’ before ‘OGRCoordinateTransformation’<br>/usr/include/gdal/ogr_spatialref.h:571: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_spatialref.h:571: error: expected ‘,’ or ‘;’ before ‘*’ token<br>In file included from
/usr/include/gdal/ogr_feature.h:33,<br> from /usr/include/gdal/ogrsf_frmts.h:33,<br> from ./service.c:12:<br>/usr/include/gdal/ogr_geometry.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRRawPoint’<br>/usr/include/gdal/ogr_geometry.h:80: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:80: error: expected ‘,’ or ‘;’ before ‘OGRGeometry’<br>/usr/include/gdal/ogr_geometry.h:169: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:169: error: expected ‘,’ or ‘;’ before ‘OGRPoint’<br>/usr/include/gdal/ogr_geometry.h:224: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:224:
error: expected ‘,’ or ‘;’ before ‘OGRCurve’<br>/usr/include/gdal/ogr_geometry.h:246: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:246: error: expected ‘,’ or ‘;’ before ‘OGRLineString’<br>/usr/include/gdal/ogr_geometry.h:338: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:338: error: expected ‘,’ or ‘;’ before ‘OGRLinearRing’<br>/usr/include/gdal/ogr_geometry.h:381: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:381: error: expected ‘,’ or ‘;’ before ‘OGRSurface’<br>/usr/include/gdal/ogr_geometry.h:402: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:402: error: expected ‘,’ or ‘;’ before ‘OGRPolygon’<br>/usr/include/gdal/ogr_geometry.h:468: warning: data definition has no type or storage
class<br>/usr/include/gdal/ogr_geometry.h:468: error: expected ‘,’ or ‘;’ before ‘OGRGeometryCollection’<br>/usr/include/gdal/ogr_geometry.h:528: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:528: error: expected ‘,’ or ‘;’ before ‘OGRMultiPolygon’<br>/usr/include/gdal/ogr_geometry.h:553: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:553: error: expected ‘,’ or ‘;’ before ‘OGRMultiPoint’<br>/usr/include/gdal/ogr_geometry.h:579: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:579: error: expected ‘,’ or ‘;’ before ‘OGRMultiLineString’<br>/usr/include/gdal/ogr_geometry.h:604: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_geometry.h:604: error: expected ‘,’ or ‘;’ before ‘OGRGeometryFactory’<br>In file included from
/usr/include/gdal/ogr_feature.h:34,<br> from /usr/include/gdal/ogrsf_frmts.h:33,<br> from ./service.c:12:<br>/usr/include/gdal/ogr_featurestyle.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRFeature’<br>/usr/include/gdal/ogr_featurestyle.h:81: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:81: error: expected ‘,’ or ‘;’ before ‘OGRStyleTable’<br>/usr/include/gdal/ogr_featurestyle.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRStyleTool’<br>/usr/include/gdal/ogr_featurestyle.h:115: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:115: error: expected ‘,’ or
‘;’ before ‘OGRStyleMgr’<br>/usr/include/gdal/ogr_featurestyle.h:159: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:159: error: expected ‘,’ or ‘;’ before ‘OGRStyleTool’<br>/usr/include/gdal/ogr_featurestyle.h:242: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:242: error: expected ‘,’ or ‘;’ before ‘OGRStylePen’<br>/usr/include/gdal/ogr_featurestyle.h:290: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:290: error: expected ‘,’ or ‘;’ before ‘OGRStyleBrush’<br>/usr/include/gdal/ogr_featurestyle.h:337: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_featurestyle.h:337: error: expected ‘,’ or ‘;’ before ‘OGRStyleSymbol’<br>/usr/include/gdal/ogr_featurestyle.h:395: warning: data definition has no type or storage
class<br>/usr/include/gdal/ogr_featurestyle.h:395: error: expected ‘,’ or ‘;’ before ‘OGRStyleLabel’<br>In file included from /usr/include/gdal/ogrsf_frmts.h:33,<br> from ./service.c:12:<br>/usr/include/gdal/ogr_feature.h:51: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_feature.h:51: error: expected ‘,’ or ‘;’ before ‘OGRFieldDefn’<br>/usr/include/gdal/ogr_feature.h:113: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_feature.h:113: error: expected ‘,’ or ‘;’ before ‘OGRFeatureDefn’<br>/usr/include/gdal/ogr_feature.h:159: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_feature.h:159: error: expected ‘,’ or ‘;’ before ‘OGRFeature’<br>/usr/include/gdal/ogr_feature.h:296: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘OGRLayer’<br>/usr/include/gdal/ogr_feature.h:298: warning: data definition has no type or storage class<br>/usr/include/gdal/ogr_feature.h:298: error: expected ‘,’ or ‘;’ before ‘OGRFeatureQuery’<br>In file included from ./service.c:12:<br>/usr/include/gdal/ogrsf_frmts.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRLayerAttrIndex’<br>/usr/include/gdal/ogrsf_frmts.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OGRSFDriver’<br>/usr/include/gdal/ogrsf_frmts.h:54: warning: data definition has no type or storage class<br>/usr/include/gdal/ogrsf_frmts.h:54: error: expected ‘,’ or ‘;’ before ‘OGRLayer’<br>/usr/include/gdal/ogrsf_frmts.h:152: warning: data definition has no type or storage class<br>/usr/include/gdal/ogrsf_frmts.h:152: error: expected ‘,’ or ‘;’ before
‘OGRDataSource’<br>/usr/include/gdal/ogrsf_frmts.h:231: warning: data definition has no type or storage class<br>/usr/include/gdal/ogrsf_frmts.h:231: error: expected ‘,’ or ‘;’ before ‘OGRSFDriver’<br>/usr/include/gdal/ogrsf_frmts.h:264: warning: data definition has no type or storage class<br>/usr/include/gdal/ogrsf_frmts.h:264: error: expected ‘,’ or ‘;’ before ‘OGRSFDriverRegistrar’<br>./service.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘:’ token<br>./service.c:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token<br>./service.c:33: error: expected identifier or ‘(’ before string
constant<br><br>Thanks<br>T.X.Quang<br></div><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"></span></div><br><hr size="1"><a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Never miss an email again!<br>Yahoo! Toolbar</a><span class="Apple-converted-space"> </span>alerts you the instant new Mail arrives.<a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar/features/mail/"><span class="Apple-converted-space"> </span>Check it out.</a></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word;"><div><span class="Apple-style-span" style="font-size: 12px;"><div style="margin: 0px;">Gérald Fenoy</div><div style="margin: 0px;">ZOO-PSC Chair</div><div style="margin: 0px;"><a rel="nofollow" ymailto="mailto:gerald.fenoy@geolabs.fr"
target="_blank" href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238);">gerald.fenoy@geolabs.fr</span></a></div><div style="margin: 0px; min-height: 14px;"><span class="Apple-style-span" style="font-size: medium;"><br></span></div></span></div></div></span></span></div></div></div></div>
</div><br>
</body></html>