|
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
InstallationIn principle Player should build on most modern Unix-like distributions using the standard GNU autoconf dance:
In practice, this will probably install a fairly minimal set of drivers, so read on for more detailed installation instructions. Preparing your system (recommended)The default install path for many source packages (Player included) is:
In some Linux distributions, however, these paths are not searched by default, leading to problems when compiling and linking. We therefore recommend that you configure your system with the following additional paths (added to your .bashrc script, for example):
The first line sets the executable path; the second sets the path for C and C++ header files; the third line sets the library search path. You will also need to set two more paths:
The first line sets the pkg-config path (a neat utility for mananging source dependencies); the second line is for Python extensions (the version number should match the version of Python you have installed; type "python -V" if in doubt). Installing Gazebo (optional)If you plan to work with the Gazebo simulation package, you need to install Gazebo before installing Player. Follow the installation instructions in the Gazebo manual.Installing RTK (recommended)Some Player utilities use the RTK library (available from the Player website) for managing GUI functionality. This package should be installed before installing Player. The RTK source tarball is installed as follows:
Check the output of the configure script to make sure the package will be installed in a sensible place. Now build and install:
Standard installationThe Player source tarball is installed as follows:
Note the final output of the configure script: it will tell you what will be built, and where it will be installed. Once you are satisfied, build and install the package:
Player is now ready to run. Local installation (does not require root access)Some users prefer to install Player in their home directory (e.g., /home/[username]/local) rather than in a system directory. This is useful if you are working on shared machines and/or lack root access. Naturally, local installs can make it a bit tricky for Player (and other packages) to find the right headers, libs and so on. Here, then, is the recommended way to do it:
Everything should now work seamlessly, and your locally installed packages will be used in preference to any system-wide defaults. Installing Stage 1.3.x (optional)If you plan to work with the Stage simulation package, you need to install Stage after installing Player. Follow the installation instructions in the Stage manual.
In a nutshell, after installing Player, './configure; make; make install' should get Stage installed (provide the same Problem-solvingTODOGenerated on Tue May 3 14:16:08 2005 for Player by 1.3.6 |