All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Building and Installing on Mac OSX

First execute this command:

sudo port install cmake boost libxml2 glew py27-numpy py27-pyplusplus

The py27-xx are for python 2.7 users. If a different version of python will be used, the names will have to change correspondingly. Note that OpenRAVE automatically chooses the newest version of python it can find, therefore it is necessary that the python bindings also correspond to this version.

Sometimes it is easiest to install boost python directly from sources. Once installed, make sure to set the BOOST_ROOT environment variable to point to it before compiling OpenRAVE.

It is also necessary to install these libraries:

Sometimes multiple python versions will be installed making it difficult to choose which one OpenRAVE should build with. It is possible to force a particular python version when using the cmake command line:

cmake -DPYTHON_INCLUDE_DIR:PATH=/opt/local/Library/Frameworks/Python.framework/Headers -DPYTHON_LIBRARIES:FILEPATH=/opt/local/lib/libpython2.7.dylib -DPYTHON_EXECUTABLE:FILEPATH=/opt/local/bin/python2.7

After this, follow the instructions on Building and Installing on Linux.