mc_rtc::Configuration
general purpose configurationIf you are building on Linux or macOS you can skip to the Building section. However, Windows users have to follow extra-instructions.
If you are building on Windows, you need to have the following tools installed before starting:
python
and pip
executables are in your PATH
environment variable;BOOST_ROOT
to the location where you installed Boost and add Boost DLLs path to your PATH
environment. For example, if you installed into C:\local\boost_1_72_0
then BOOST_ROOT
should be C:\local\boost_1_72_0
and %BOOST_ROOT%\lib64-msvc-14.2
should be in your PATH
;bin
folder of the installation is in your PATH
environment, e.g. C:\mingw-w64\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin
Note: it should also work and compile with Visual Studio 2017. However, only Visual Studio 2019 is regularly tested
git submodule update --init
;utils
directory and locate the file named build_and_install.sh
;build_and_install_user_config.sh
(overrides the corresponding variables from the default configuration build_and_install_default_config.sh
)
cp build_and_install_user_config.sample.sh build_and_install_user_config.sh
build_and_install_user_config.sh
and edit the options to your liking: INSTALL_PREFIX
, WITH_ROS_SUPPORT
, ROS_DISTRO
. On Ubuntu, ROS will be installed if you enable ROS support and it was not already installed. Otherwise, you are required to install ROS by yourself before attempting to install mc_rtc with ROS support;./build_and_install.sh
The script will take care of installing the required dependencies, clone all required source codes, build and install them. This may take a while.
If the script fails, please open up an issue on mc_rtc issue tracker, providing the following information:
Once mc_rtc has been installed, you can jump to the next section.