1. Pyro on Mac OSX Systems
1.1. Pyrobot
Pyrobot should work "out of the box" on OSX. Here is my setup of Apple software:-
Mac OSX 10.3 "Panther"
-
Apple X11 SDK
-
XCode Tools 1.5
Tiger Update -- my new setup:
-
Mac OSX 10.4 "Tiger"
-
Apple X11 SDK
-
XCode Tools 2.0
Additionally, you should install the following (in this order):
-
for Tiger, don't forget about the "Tiger fix" you'll see on the Mac Python page
Now, you should be able to follow the usual install instructions for Pyrobot. You can run the "pyrobot" executable at the Mac command prompt.
1.2. Fink
Download and install1.2.1. "Optional Packages"
-
devel/pkgconfig
-
devel/gdk-pixbuf
-
devel/orbit
1.2.2. "Unclassified Packages"
-
devel/autoconf2.5
-
devel/automake1.7
-
gnome/atk1
-
gnome/glib2-dev
-
gnome/gtk+2-dev
-
gnome/libgnomecanvas2-dev
-
pango1-xft2-dev
-
languages/gcc4 (unnecessary for Tiger)
-
languages/swig (can be installed with the full "batteries included" edition of Tcl/Tk)
-
libs/gdal-dev
-
libs/libxml2-bin
-
x11/glut
1.3. wxPython
This is required for Gazebo's GUI. A Mac-native version can be downloaded1.4. Gazebo
Follow the instructions1.5. Player
You should be able to install Player following the instructions given with the standard Pyro installation (if not the CVS source, use the latest released source). Player will use many of the dependencies installed by Fink.1.6. Stage
As with Player, Stage also compiles fine with the provided instructions (if not the CVS source, use the latest released source). However, there is a particular library (libplayerstage.so) with the distributed RPM that does not seem to get built with the Stage source code. This missing library prevents the stage simulator from working properly.1.7. Future Endeavors
Things I am/will be trying:-
compiling Gazebo as a native OSX application (no X11 support layer)
I welcome all feedback.
-Jim Weir
1.8. More Detailed Install Instructions
I had trouble with the above instructions at the "Now, you should be able to follow the usual install instructions for Pyrobot" stage. Some email w/Doug Blank helped. I detail what I did at
http://emergent.brynmawr.edu/pipermail/pyro-users/2006-November/000447.html. This install provides only the basics (pyrobot simulator, various machine learning modules). If you've been able to install modules that rely on SWIG, I'd love to hear how you modified the install procedure so that it doesn't crash.
1.9. Another Problems After Install
If you have error message looks like:
Traceback (most recent call last):
-
File "pyrobot", line 1, in <module>
-
-e #!/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
NameError: name 'e' is not defined
To fix this problem, you must open file: "bin/pyrobot" with text editor and delete first line: " -e #!/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5" Then you must open file: "System/version.py" and also delete first line whitch begins with "-e". Thats all. I hope it will help you.
