Home ]Software ]Curriculum ]Hardware ]Community ]News ]Publications ]Search ]


1.1. Pyro on Mac OSX Systems

1.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):

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.1.2. Fink

Download and install  Fink. This provides you with an ncurses based installer for many common Unix applications on your Mac. Note: this is somewhat broken in Tiger as I'm sure many of the packages are still being ported. Run the dselect command and choose to install the following applications:

1.1.2.1. "Optional Packages"

  • devel/pkgconfig
  • devel/gdk-pixbuf
  • devel/orbit

1.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.1.3. wxPython

This is required for Gazebo's GUI. A Mac-native version can be downloaded  here.

1.1.4. Gazebo

Follow the instructions  here to install Gazebo on Mac. If it gets to the end of the build and throws an error that the linker (ld) doesn't recognize the --export-dynamic option, use this  Makefile as a replacement for server/Makefile.

1.1.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.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.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

james.weir@marist.edu

jweir77@gmail.com

1.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  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.

bthom@cs.hmc.edu

1.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 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.

t.andrijauskas@gmail.com


Home ]Software ]Curriculum ]Hardware ]Community ]News ]Publications ]Search ]

CreativeCommons View Wiki Source | Edit Wiki Source | Mail Webmaster