Hi Quang, All,<br><br>Just to let you know that the CGAL ZOO Service and corresponding .zcfg file have been recently updated. You can chek it here:<br><br><a href="http://zoo-project.org/trac/browser/trunk/zoo-services/cgal">http://zoo-project.org/trac/browser/trunk/zoo-services/cgal</a><br>
<br>A small Voronoï demo using a huge point layer is also working here:<br><br><a href="http://zoo-project.org/site/ZooWebSite/Demo/CGAL">http://zoo-project.org/site/ZooWebSite/Demo/CGAL</a><br><br>Best regards,<br><br>Nick<br>
<br><br><div class="gmail_quote">2011/2/15 Gérald Fenoy <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;">Dear Quang,<div>in other case you can always comment the function which cause trouble</div><div> and you'll maybe find a way to get the Delaunay function working.</div><div><br></div>
<div>I know that the Voronoi worked when we tested it, we used some data </div><div>provided by 3liz and built a demo on top of this dataset [1]. It worked like a </div><div>charm until 3liz remove the dataset they gave us access to. Maybe you </div>
<div>can first start using the demo page and test the Voronoi Service which </div><div>should work, then test using your own dataset.</div><div><br></div><div>As we spoken together about this old Demo page I was able to port this </div>
<div>old demo page on the trac, so it is now even accessible from the </div><div>official ZOO-Project web site [2].</div><div><br></div><div>So it you're interested in the CGAL library you should probably know it </div>
<div>better than I do, it can be a real asset to get the Delaunay function </div><div>working even if we already get those algorithms available from </div><div>GRASS7 WPS Bridge made available by Soeren Gebbert (which I </div>
<div>thanks one more time for his welcomed help in such a task).</div><div><br></div><div>Hope you can solve the issue about Delaunay service and hope this </div><div>new demo page can help you in testing the Voronoï algorithm from the </div>
<div>CGAL library.</div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>[1] <a href="http://zoo-project.org/ogr/cgal-demo.html" target="_blank">http://zoo-project.org/ogr/cgal-demo.html</a></div>
<div><div>[2] <a href="http://zoo-project.org/site/ZooWebSite/Demo/CGAL" target="_blank">http://zoo-project.org/site/ZooWebSite/Demo/CGAL</a></div></div><div><br></div><div><br><div><div>Le 14 févr. 2011 à 17:20, truongxuan quang a écrit :</div>
<div><div></div><div class="h5"><br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div>
<div style="margin: 0px; font-family: 'times new roman','new york',times,serif; font-size: 12pt;"><div style="margin: 0px;">Dear<span> </span><font face="Tahoma" size="2">Gérald<br><br>Thank for all you help...I will move to</font><span> </span>the ogr/base-vect-ops first and if I have time I will look back for CGAL, because CGAL's library attracted me.<br>
<br>I will focus in next section if I face any doubts please help me again.<br><br>Thank you very much<br><br>Quang<span> </span><br><br><br></div><div style="margin: 0px; font-family: 'times new roman','new york',times,serif; font-size: 12pt;">
<br><div style="margin: 0px; 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><span> </span>Gérald Fenoy <<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>><br>
<b><span style="font-weight: bold;">To:</span></b><span> </span>truongxuan quang <<a href="mailto:truongxuanquang@yahoo.com" target="_blank">truongxuanquang@yahoo.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b><span> </span>zoo-discuss <<a href="mailto:zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">zoo-discuss@gisws.media.osaka-cu.ac.jp</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b><span> </span>Mon, February 14, 2011 4:43:55 PM<br><b><span style="font-weight: bold;">Subject:</span></b><span> </span>Re: [ZOO-Discuss] Boundary ZOO Service<br></font><br>
Dear Quang,<div style="margin: 0px;">as I think you was trying the Workshop material, you shouldn't download any source code</div><div style="margin: 0px;">from the SVN tree ... You should create an empty file and fill it with the content provided in</div>
<div style="margin: 0px;">the workshop material.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">CGAL service seems to get trouble, we tried it some *years* ago with probably an older </div><div style="margin: 0px;">
CGAL version ... not sure.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Probably switching to the ogr/base-vect-ops, which is the service used in the workshop </div><div style="margin: 0px;">material would be easier.</div>
<div style="margin: 0px;"><br></div><div style="margin: 0px;">Hope to hear from you,</div><div style="margin: 0px;">Best,</div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><div style="margin: 0px;"><div style="margin: 0px;">
Le 14 févr. 2011 à 15:32, truongxuan quang a écrit :</div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div style="margin: 0px; font-family: times,serif; font-size: 12pt;">
<div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><br>Dear Gérald<br><br>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<span> </span><br>
mkdir -p /home/user/zoows/sources/zoo-services/ws_sp/cgi-env<br><span>There was not include service.c inside ws_sp I had copied service.c from<span> </span><span><a href="http://zoo-project.org/trac/browser/branches/branch-1.2/zoo-services/cgal/service.c" target="_blank">http://zoo-project.org/trac/browser/branches/branch-1.2/zoo-services/cgal/service.c</a></span><span> </span>it is right in this case ?</span><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>./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: 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<br>
./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’<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>Thanks<br><br>Quang<br><div style="margin: 0px; font-family: times,serif; font-size: 12pt;">
<font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b><span> </span>Gérald Fenoy <<a rel="nofollow" href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>><br>
<b><span style="font-weight: bold;">To:</span></b><span> </span>truongxuan quang <<a rel="nofollow" href="mailto:truongxuanquang@yahoo.com" target="_blank">truongxuanquang@yahoo.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b><span> </span>zoo-discuss <<a rel="nofollow" href="mailto:zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">zoo-discuss@gisws.media.osaka-cu.ac.jp</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b><span> </span>Mon, February 14, 2011 1:06:16 PM<br><b><span style="font-weight: bold;">Subject:</span></b><span> </span>Re: [ZOO-Discuss] Boundary ZOO Service<br></font><br>
Dear Quang,<div style="margin: 0px;">thanks for your investigations.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">I suppose that on your line 265 you get the following :</div><div style="margin: 0px;">
<br></div><div style="margin: 0px;"> <span>Vertex_circulator vc =</span> ....</div><div style="margin: 0px;"><span><br></span></div><div style="margin: 0px;"><span>Please, try to use this :</span></div><div style="margin: 0px;">
<span><br></span></div><div style="margin: 0px;"><span> </span>Vertex_circulator* vc = ....</div><div style="margin: 0px;"><span><br></span></div><div style="margin: 0px;"><span><br></span></div><div style="margin: 0px;">
<span>Hope this help and you will give us feedback,</span></div><div style="margin: 0px;"><span>best</span></div><div style="margin: 0px;"><br><div style="margin: 0px;"><div style="margin: 0px;">Le 14 févr. 2011 à 12:50, truongxuan quang a écrit :</div>
<br><blockquote type="cite"><div style="margin: 0px;"><div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><div style="margin: 0px;">Dear Gérald<span> </span><br><br>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 "<font style="font-family: times,serif;" size="3"><span style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">No such file or directory</span></font>". But there is still error 265 in my command, Could you please have a look for responsive inform bellow<span> </span><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>./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></div><div style="margin: 0px; font-family: times,serif; font-size: 12pt;">
in this directory /usr/include/CGAL there is not including Triangulation_ds_vertex_circulator_2.h file as 265 error said.<br><br>please help me to fix the error.<br><br>Thank you very much and have a nice day<span> </span><br>
<br>T.X.Quang<br><div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b><span> </span>Gérald Fenoy <<a rel="nofollow" href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>><br>
<b><span style="font-weight: bold;">To:</span></b><span> </span>truongxuan quang <<a rel="nofollow" href="mailto:truongxuanquang@yahoo.com" target="_blank">truongxuanquang@yahoo.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b><span> </span>zoo-discuss <<a rel="nofollow" href="mailto:zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">zoo-discuss@gisws.media.osaka-cu.ac.jp</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b><span> </span>Fri, February 11, 2011 7:34:55 PM<br><b><span style="font-weight: bold;">Subject:</span></b><span> </span>Re: [ZOO-Discuss] Boundary ZOO Service<br></font><br>
Quang,<div style="margin: 0px;">I noticed something a bit strange in the error messages you shown to me.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">g++ is not able to find ../../zoo-kernel/service_internal.o from your ws_sp directory.</div>
<div style="margin: 0px;">Can you ensure that when you do "ls ../../zoo-kernel/service_internal.o" it gives you </div><div style="margin: 0px;">the file name rather than a message explaining that there is no file with that name.</div>
<div style="margin: 0px;">If you don't get the file, then you will probably have to compile zoo-kernel in the</div><div style="margin: 0px;">../../zoo-kernel directory.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">
Once you get the compiled ZOO-Kernel you should solve one issue. Then there </div><div style="margin: 0px;">is still the error about the line 265 of the service.c file. Let see if we can go to this</div><div style="margin: 0px;">
last step.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Hope it helps,</div><div style="margin: 0px;">Best</div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><br><div style="margin: 0px;">
<div style="margin: 0px;">Le 11 févr. 2011 à 18:33, truongxuan quang a écrit :</div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div style="margin: 0px;">
<div style="margin: 0px; font-family: 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<span> </span><br>
Best,<br>T.X.Quang<br><div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><br><div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b><span> </span>Gérald Fenoy <<a rel="nofollow" href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>><br>
<b><span style="font-weight: bold;">To:</span></b><span> </span>truongxuan quang <<a rel="nofollow" href="mailto:truongxuanquang@yahoo.com" target="_blank">truongxuanquang@yahoo.com</a>><br><b><span style="font-weight: bold;">Cc:</span></b><span> </span>zoo-discuss <<a rel="nofollow" href="mailto:zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">zoo-discuss@gisws.media.osaka-cu.ac.jp</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b><span> </span>Fri, February 11, 2011 5:36:32 PM<br><b><span style="font-weight: bold;">Subject:</span></b><span> </span>Re: [ZOO-Discuss] Boundary ZOO Service<br></font><br>
Dear Quang,<div style="margin: 0px;">scuse me, at the beginning you used g++ so I didn't noticed that after you changed for</div><div style="margin: 0px;">g++. It seems you need to use g++ in your case.</div><div style="margin: 0px;">
<br></div><div style="margin: 0px;">Your service provider is depending on CGAL. Are you sure you get it installed on your</div><div style="margin: 0px;">OSGeoLiveDVD platform ?</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">
If not, you probably would use the following command to install CGAL library and </div><div style="margin: 0px;">header files (the -dev package in the Debian world):</div><div style="margin: 0px;"> sudo apt-install search libcgal-dev</div>
<div style="margin: 0px;"><br></div><div style="margin: 0px;">Maybe your service provider doesn't need GDAL library, in such case, please, remove </div><div style="margin: 0px;">the include lines mentioning the CGAL directory.</div>
<div style="margin: 0px;"><br></div><div style="margin: 0px;">Hope it help,</div><div style="margin: 0px;">Best,</div><div style="margin: 0px;"><br><div style="margin: 0px;"><div style="margin: 0px;">Le 11 févr. 2011 à 17:18, truongxuan quang a écrit :</div>
<br><blockquote type="cite"><div style="margin: 0px;"><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> </span><br>
<span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; 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 style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"></span></div>
<br></div></blockquote></div></div></div></div></div></div></span></blockquote></div></div></div></div></div></div></blockquote></div></div></div></div></div></span></blockquote></div></div></div></div></div></div></span></blockquote>
</div></div></div><div class="im"><br><div>
<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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><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;"><span style="color: rgb(0, 0, 238);"><a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a></span></div>
</span></div></div></span></span></div></div></div></div><br>_______________________________________________<br>
Zoo-discuss mailing list<br>
<a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br>
<a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss" target="_blank">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br>
<br></blockquote></div><br>