Sunday, March 09, 2008

[memo] player/stage: how to compile my robot code

This is memo for myself.
memo ver. 0.0.1

Player/stage is one of the robot simulater.
I use on Ubuntu Linux 7.10

CPU : Xeon

Official page
http://playerstage.sourceforge.net/

command name
on document------>on ubuntu
player ------>robot-player

compile my code
$
g++-3.4 laserobstacleavoid.cc -I/usr/include/player-2.0/ -L/usr/lib/ -lplayercore -lplayerc++ -o laserobstacleavoid

I thought 64bit proessor has some problems for compile it when I used it at first time.
However it has no problem.
My work was as monkey.

1 comments:

phreq said...

Just want to say thanks for posting this. It's exactly what I was hunting for, and google suggested this post. :)