Jeff,
I would only upgrade Player/Stage to 2.0.2; it has change dramatically
in the year after that (and Pyro hasn't been upgraded to match yet).
When I install player-2.0.2 from sources, I get:
/usr/local/include/player-2.0/libplayerc/playerc.h
So it looks like you might have a really old player install.
-Doug
Jeff Knerr wrote:
Hi Doug/Pyro-users. I'm trying to build a new version of pyrobot and am
getting some compile errors:
make[1]: Entering directory `/home/knerr/pyrobot/camera/player'
swig -python -c++ -I../device/ -I/usr/local/include -I/usr/local/include -o
PlayerCam.cc PlayerCam.i
cc -c -I/usr/include/python2.4 -I../device/ -I/usr/local/include
-I/usr/local/include PlayerCam.cc -o playercam.o
In file included from PlayerCam.cc:2567:
PlayerCam.h:5:32: libplayerc/playerc.h: No such file or directory
In file included from PlayerCam.cc:2567:
...
I have a /usr/local/include/playerc.h, but not a libplayerc/playerc.h.
If I change the PlayerCam.h to just include "playerc.h", it still doesn't work:
cc -Wall -Wno-unused -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
-D_REENTRANT -DPOSIX -D__x86__ -D__linux__ -D__OSVERSION__=2 -frepo
-DUSINGTHREADS -DLINUX -D_GNU_SOURCE -I/usr/include/python2.4 -I../device/
-I/usr/local/include -I/usr/local/include -o PlayerCam.o -c PlayerCam.cpp
PlayerCam.cpp: In constructor `PlayerCam::PlayerCam(char*, int)':
PlayerCam.cpp:19: error: `PLAYER_OPEN_MODE' undeclared (first use this
function)
PlayerCam.cpp:19: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [PlayerCam.o] Error 1
make[1]: Leaving directory `/home/knerr/pyrobot/camera/player'
make: *** [camera/player] Error 2
I've build this before, but it's been 6+ months, so maybe some other things
(player? stage?) need to be upgraded first??
Let me know if you have any ideas. Thanks.
jeff
debian sarge, 2.6.16 kernel
new cvs download of pyrobot (jan 15, 2007)
python2.4 (also tried 2.3, no difference)
player-1.6.4, cvs version of stage from May 2005, swig-1.3.31, gazebo-0.5.1
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users