RoboCup Soccer Simulator 2D Server on Mac OS X

RCSS Server and Monitor on OS X

RCSS Server and Monitor on OS X

After the Windows version, i tried installing RCSS 2D on OS X Mountain Lion. This is also undocumented, while it’s probably easier being OS X someway similiar to Linux OSs.

This time I compiled everything from source, so I’m sure it’s using the newer versions; to compile it you need MacPorts, a simple package manager, and XCode, which comes with building tools that MacPorts needs. You can get XCode from the App Store for free 😀

You need then the Robocup Soccer Server source: from this page you have to download rcssserver, rcssmonitor and rcsslogplayer (i’m using lastest versions, 15.2.2 server and 15.1 monitor and logplayer). Extract the archives in a folder that’s easy to access with the command line.

    • Open XCode, then open Preferences > Downloads and install Command Line Tools.
    • Download here the right version of MacPorts for your system and install it.
    • Open terminal and install boost libraries with

      sudo port install boost

      This will install boost and all its dependencies. It compiles from source so it will take a while depending on your hardware.

    • Now you can install RCSS Server: cd into the folder you extracted before, compile and install the server.

      cd [rcssserver folder]
      ./configure
      make
      sudo make install

      Test it by running the rcssserver command (run it twice because the first time it just creates config files)

    • Now you have to install other packages to compile the monitor

      sudo port install pkgconfig
      sudo port install qt4-mac

    • Compile and install rcssmonitor

      cd [rcssmonitor folder]
      ./configure
      make
      sudo make install

    • Compile and install rcsslogplayer

      cd [rcsslogplayer]
      ./configure
      make
      sudo make install

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *