From: Julio V. <jm....@al...> - 2009-01-14 19:53:48
|
Hi, maybe I can help you :) I think your problem is you haven't correctly installed some drivers. I would advise you to disable them. One month ago I've the same problem, and I solve it as following; you only type: $./configure --disable-erratic --disable-sicklms200 --disable-sicklms400 --disable-mricp I hope you don't use this drivers :) Good luck, Julio -- Julio Vega | http://www.robotica-urjc.es/jmvega etxeko escribió: > hello, > Im a student that is going to work with player/stage for his thesis project > and Im having quite a lot problems with the installation. > Ive spend a lot of time googleing and reading forums to know how to solve > the problems but I have to admit that Im quite new in the linux world. > My problem is quite simillar I hope that you can help me solving it. The > is the message that gives me after making ./configure: > > "Player will be built on a i686-pc-linux-gnu system to run > on a i686-pc-linux-gnu system, with the following tools: > C compiler: gcc -g -O2 > C++ compiler: g++ -g -O2 > > Support for plugin drivers will be included. > > To use the Python bindings, modify your PYTHONPATH variable to include > /usr/local/lib/python/$PYTHON_VERSION/site-packages > For example: > export > PYTHONPATH=$PYTHONPATH:/usr/local/lib/python/$PYTHON_VERSION/site-packages > > Python bindings to libplayerc will be built > > libplayerc++ will be built > signaling included > multithreading included > > The following device drivers will be included: > + accel_calib > + acts > + amcl > + amtecpowercube > + aodv > + bumper2laser > + bumpersafe > + camera1394 > + cameracompress > + camerauvc > + camerav4l > + canonvcc4 > + clodbuster > + cmucam2 > + cmvision > + create > + dummy > + er1 > + erratic > + fakelocalize > + festival > + flockofbirds > + garminnmea > + imageseq > + insideM300 > + iwspy > + kartowriter > + khepera > + laserbar > + laserbarcode > + lasercspace > + lasercutter > + laserposeinterpolator > + laserptzcloud > + laserrescan > + lasersafe > + laservisualbarcode > + laservisualbw > + linuxjoystick > + localbb > + logfile > + mapcspace > + mbicp > + mica2 > + microstrain > + nd > + obot > + p2os > + passthrough > + phidgetRFID > + phidgetIFK > + pbslaser > + ptu46 > + relay > + rflex > + roboteq > + roomba > + rs4leuze > + serialstream > + shapetracker > + sicklms200 > + sicklms400 > + sicknav200 > + sickpls > + sickrfi341 > + sicks3000 > + simpleshape > + skyetekM1 > + sphere > + sonyevid30 > + tcpstream > + upcbarcode > + urglaser > + vec2map > + vfh > + vmapfile > + wavefront > + wbr914 > + xsensmt > + yarpimage > > The following device drivers will NOT be included: > - alsa -- disabled by default; use --enable-alsa to enable > - amtecM5 -- couldn't find (at least one of) Device.h > - artoolkitplus -- couldn't find required package artoolkitplus >= 2.1 > - chatterbox -- disabled by default; use --enable-chatterbox to enable > - garcia -- disabled by default; use --enable-garcia to enable > - gbxsickacfr -- disabled by default; use --enable-gbxsickacfr to enable > - isense -- couldn't find (at least one of) isense/isense.h > - lasertoranger -- disabled by default; use --enable-lasertoranger to enable > - lifomcom -- disabled by default; use --enable-lifomcom to enable > - linuxwifi -- couldn't find (at least one of) linux/wireless.h > - mapfile -- couldn't find required package gdk-pixbuf-2.0 > - mapscale -- couldn't find required package gdk-pixbuf-2.0 > - mixer -- disabled by default; use --enable-mixer to enable > - mricp -- couldn't find required package gtk+-2.0 gdk-pixbuf-2.0 > - nimu -- couldn't find (at least one of) usb.h > - nomad -- disabled by default; use --enable-nomad to enable > - postgis -- couldn't find required package libpqxx > - rcore_xbridge -- couldn't find (at least one of) libparticle.h > - reb -- disabled by default; use --enable-reb to enable > - robotino -- couldn't find (at least one of) robotinocom.h xtimer.h > xthread.h > - segwayrmp -- disabled by default; use --enable-segwayrmp to enable > - service_adv_mdns -- disabled by default; use --enable-service_adv_mdns to > enable > - sphinx2 -- disabled by default; use --enable-sphinx2 to enable > - sonartoranger -- disabled by default; use --enable-sonartoranger to enable > - sr3000 -- couldn't find (at least one of) libusbSR.h > - statgrab -- couldn't find required package libstatgrab > - urg_nz -- disabled by default; use --enable-urg_nz to enable > > Player will be installed in: > /usr/local/ > > To see the configuration options, do: > ./configure --help > > When you're satisfied with the configuration, type 'make install'. " > > of course after this if I try to make sudo make install it gives me this > error: > > > (... > (cd .libs && rm -f libsicklms200.la && ln -s ../libsicklms200.la > libsicklms200.la) > if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > -I. -I. -I../../.. -I../../../libplayercore > -I../../../client_libs/libplayerc++ -I../../../client_libs/libplayerc -Wall > -I../../.. -g -O2 -MT lms400_cola.lo -MD -MP -MF ".deps/lms400_cola.Tpo" > -c -o lms400_cola.lo lms400_cola.cc; \ > then mv -f ".deps/lms400_cola.Tpo" ".deps/lms400_cola.Plo"; else rm -f > ".deps/lms400_cola.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../libplayercore > -I../../../client_libs/libplayerc++ -I../../../client_libs/libplayerc -Wall > -I../../.. -g -O2 -MT lms400_cola.lo -MD -MP -MF .deps/lms400_cola.Tpo -c > lms400_cola.cc -fPIC -DPIC -o .libs/lms400_cola.o > lms400_cola.cc: In member function ‘int lms400_cola::Disconnect()’: > lms400_cola.cc:61: error: ‘close’ was not declared in this scope > lms400_cola.cc: In member function ‘player_laser_data_t > lms400_cola::ReadMeasurement()’: > lms400_cola.cc:377: error: ‘read’ was not declared in this scope > lms400_cola.cc: In member function ‘int lms400_cola::SendCommand(const > char*)’: > lms400_cola.cc:491: error: ‘write’ was not declared in this scope > lms400_cola.cc: In member function ‘int lms400_cola::ReadResult()’: > lms400_cola.cc:504: error: ‘read’ was not declared in this scope > make[3]: *** [lms400_cola.lo] Error 1 > make[3]: Leaving directory `/home/joseba/player-2.1.0/server/drivers/laser' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/joseba/player-2.1.0/server/drivers' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/joseba/player-2.1.0/server' > make: *** [install-recursive] Error 1 > ) > > I try to start installing artoolkitplus and the others but I dont find them > or I cant install it. I had a lot of problems to install artoolkitplus 2.1.1 > Could you help me please? > > More over I tried to install a previous version of Player ( 2.0.1 exactly), > in this one after ./configure tells me that I have all the packages and then > when I make sudo make install it gives me this error after some lines : > > ( > Making install in ptz > make[3]: Entering directory `/home/joseba/player-2.0.1/server/drivers/ptz' > if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > -I. -I. -I../../.. -I../../../libplayercore > -I../../../client_libs/libplayerc++ -Wall -I../../.. -MT ptu46.lo -MD > -MP -MF ".deps/ptu46.Tpo" -c -o ptu46.lo ptu46.cc; \ > then mv -f ".deps/ptu46.Tpo" ".deps/ptu46.Plo"; else rm -f > ".deps/ptu46.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../libplayercore > -I../../../client_libs/libplayerc++ -Wall -I../../.. -MT ptu46.lo -MD -MP > -MF .deps/ptu46.Tpo -c ptu46.cc -fPIC -DPIC -o .libs/ptu46.o > ptu46.cc:130: error: extra qualification 'PTU46::' on member 'GetLimit' > ptu46.cc:137: error: extra qualification 'PTU46::' on member 'SetSpeed' > ptu46.cc:138: error: extra qualification 'PTU46::' on member 'GetSpeed' > ptu46.cc: In constructor 'PTU46::PTU46(char*, int)': > ptu46.cc:208: warning: deprecated conversion from string constant to 'char*' > ptu46.cc:212: warning: deprecated conversion from string constant to 'char*' > ptu46.cc:213: warning: deprecated conversion from string constant to 'char*' > ptu46.cc:214: warning: deprecated conversion from string constant to 'char*' > ptu46.cc:239: warning: deprecated conversion from string constant to 'char*' > ptu46.cc: In member function 'char PTU46::GetMode()': > ptu46.cc:518: warning: deprecated conversion from string constant to 'char*' > ptu46.cc: In function 'void PTU46_Register(DriverTable*)': > ptu46.cc:579: warning: deprecated conversion from string constant to 'char*' > make[3]: *** [ptu46.lo] Error 1 > make[3]: Leaving directory `/home/joseba/player-2.0.1/server/drivers/ptz' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/joseba/player-2.0.1/server/drivers' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/joseba/player-2.0.1/server' > make: *** [install-recursive] Error 1 > ) > Im a bit desperate ... Because all my work depends on it. I would appreciate > that you help a lot. Thanks > > etxeko > |