[ZOO-Discuss] Boundary ZOO Service

truongxuan quang truongxuanquang at yahoo.com
Tue Feb 8 09:41:59 PST 2011


Hello all,

I am temporarily ruining ZOO-project in OSGeoLive on Virtual Box installed in 
WinXP. I am trying install Web Service following this link 
http://zoo-project.org/trac/wiki/ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices#TestingtheServiceusingExecuteRequest


I got errors when I have run this command 

 root at truong-desktop:/home/user/zoows/sources/zoo-services/ws_sp# g++ $CFLAGS 
-shared -fpic -o cgi-env/ServicesProvider.zo ./service.c $LDFLAGS ./service.c 
$LDFLAGS

 I got errors 

g++ $CFLAGS -shared -fpic -o cgi-env/ServicesProvider.zo ./service.c $LDFLAGS 
./service.c $LDFLAGS
./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:10:25: error: cpl_minixml.h: No such file or directory
./service.c:11:21: error: ogr_api.h: No such file or directory
./service.c:12:25: error: ogrsf_frmts.h: No such file or directory
./service.c:13:21: error: service.h: No such file or directory
./service.c:34:25: error: libxml/tree.h: No such file or directory
./service.c:35:27: error: libxml/parser.h: No such file or directory
./service.c:36:26: error: libxml/xpath.h: No such file or directory
./service.c:37:35: error:  libxml/xpathInternals.h: No such file or directory
./service.c:15: error: ‘CGAL’ has not been declared
./service.c:15: error: expected initializer before ‘K’
./service.c:17: error: ‘CGAL’ has not been declared
./service.c:17: error: expected initializer before ‘<’ token
./service.c:18: error: ‘Triangulation’ has not been declared
./service.c:18: error: expected initializer before ‘Edge_iterator’
./service.c:19: error: ‘Triangulation’ has not been declared
./service.c:19: error: expected initializer before ‘Point’
./service.c:21: error: ‘CGAL’ has not been declared
./service.c:21: error: expected initializer before ‘<’ token
./service.c:22: error: ‘CDT’ has not been declared
./service.c:22: error: expected initializer before ‘Point’
./service.c:23: error: ‘CDT’ has not been declared
./service.c:23: error: expected initializer before  ‘Vertex_handle’
./service.c:25: error: ‘CGAL’ has not been declared
./service.c:25: error: expected initializer before ‘K’
./service.c:26: error: ‘CGAL’ has not been declared
./service.c:26: error: expected initializer before ‘<’ token
./service.c:27: error: ‘CGAL’ has not been declared
./service.c:27: error: expected initializer before ‘<’ token
./service.c:29: error: ‘Triangulation’ has not been declared
./service.c:29: error: expected initializer before ‘Vertex_circulator’
./service.c:31: error: ‘K’ has not been declared
./service.c:31: error: expected initializer before ‘Point1’
./service.c:45: error: expected constructor, destructor, or type conversion 
before ‘*’ token
./service.c:46: error: variable or field ‘printExceptionReportResponse’ declared 
void
./service.c:46: error: ‘maps’ was not declared in this scope
./service.c:46: error: expected  primary-expression before ‘,’ token
./service.c:46: error: ‘map’ was not declared in this scope
./service.c:46: error: expected primary-expression before ‘)’ token
./service.c: In function ‘char* base64(const unsigned char*, int)’:
./service.c:60: error: ‘memcpy’ was not declared in this scope
./service.c: At global scope:
./service.c:68: error: ‘OGRGeometryH’ does not name a type
.......
......

 How could I fix  errors, I think my directory are wrong in this case.   
My Service Provider directory as below 
/home/user/zoows/sources/zoo-services/
     / zoo-kernel
           main.cfg  service.h  service_internal.c  service_internal.h  
zoo_loader.cgi
   /zoo-service
           cgal   ws_sp
                    /ws_sp 
                           Boundary.zcfg  cgi   cgi-env   service.c 


Thanks!!

Regards,
T.X.Quang


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110208/3523b3d8/attachment.html>


More information about the Zoo-discuss mailing list