From: Mukesh K. <muk...@gm...> - 2006-01-10 06:42:22
|
hello friends , mukesh here. i found the problems in building the stage and player packages= . i take the packages from the source forge site . i untar the player package and build that package. build is compleet and the libraries of player are created in the /usr/local/include but after that when i untar the stage and make the ./configure and then the make i foud there problems as [root@main stage-2.0.0a]# make make all-recursive make[1]: Entering directory `/root/orca/stage-2.0.0a' Making all in replace make[2]: Entering directory `/root/orca/stage-2.0.0a/replace' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/orca/stage-2.0.0a/replace' Making all in src make[2]: Entering directory `/root/orca/stage-2.0.0a/src' if /bin/sh ../libtool --mode=3Dcompile g++ -DHAVE_CONFIG_H -I. -I. -I.. -W= all -I. -I../replace -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT p_blobfinder.lo -MD -MP -MF ".deps/p_blobfinder.Tpo" \ -c -o p_blobfinder.lo `test -f 'p_blobfinder.cc' || echo './'`p_blobfinder.cc; \ then mv -f ".deps/p_blobfinder.Tpo" ".deps/p_blobfinder.Plo"; \ else rm -f ".deps/p_blobfinder.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I../replace -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT p_blobfinder.lo -MD -MP -MF .deps/p_blobfinder.Tpo -c p_blobfinder.cc -fPI= C -DPIC -o .libs/p_blobfinder.o In file included from p_blobfinder.cc:41: p_driver.h:41: error: `id' has not been declared p_driver.h:41: error: ISO C++ forbids declaration of `parameter' with no type p_driver.h:42: error: `id' has not been declared p_driver.h:42: error: ISO C++ forbids declaration of `parameter' with no type p_driver.h:50: error: `id' has not been declared p_driver.h:52: error: ISO C++ forbids declaration of `parameter' with no type p_driver.h:58: error: expected `;' before '(' token p_driver.h:73: error: expected `)' before ',' token p_driver.h:77: error: ISO C++ forbids declaration of `id' with no type p_driver.h:97: error: expected `)' before ',' token p_driver.h:108: error: expected `)' before ',' token p_driver.h:120: error: expected `)' before ',' token p_driver.h:130: error: expected `)' before ',' token p_driver.h:140: error: expected `)' before ',' token p_driver.h:150: error: expected `)' before ',' token p_driver.h:160: error: expected `)' before ',' token p_driver.h:170: error: expected `)' before ',' token In file included from p_blobfinder.cc:41: p_driver.h:1:1: unterminated #ifndef p_blobfinder.cc:48: error: expected `)' before ',' token p_blobfinder.cc:49: error: expected init-declarator before '*' token p_blobfinder.cc:49: error: expected `,' or `;' before '*' token p_blobfinder.cc: In member function `virtual void InterfaceBlobfinder::Publish()': p_blobfinder.cc:82: error: 'struct player_blobfinder_data_t' has no member named 'blob_count' p_blobfinder.cc:118: error: 'class StgDriver' has no member named 'PutData' p_blobfinder.cc: In member function `virtual void InterfaceBlobfinder::Configure(void*, void*, size_t)': p_blobfinder.cc:125: error: 'class StgDriver' has no member named 'PutReply= ' make[2]: *** [p_blobfinder.lo] Error 1 make[2]: Leaving directory `/root/orca/stage-2.0.0a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/orca/stage-2.0.0a' make: *** [all] Error 2 [root@main stage-2.0.0a]# so please tell me the solution . i also found the problem in building gazebo-0.5.2 when i make the make file i foung the error player package not found. please tell me which component si need for this and ask that you need to ad= d player.pc file's path in the package configration . please tell me the possible solution how to build the player and stage packages properly. thnking you -- With Regards:- Mukesh Kumar Graduate Engineer Trainee Hitech Robotic Systemz Inc Gurgaon - 122002 Tel: +91 (124) 2806080 - 86 Mob: 9891959519 Email: muk...@hi... Website: www.hitechroboticsystemz.com |