-
-
Save christophebedard/349bff22f18285c6ebd9ecb1a2e79590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it ubuntu:16.04 | |
apt-get update | |
apt-get install -y lsb-release curl wget git | |
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - | |
apt-get update | |
apt-get install -y ros-kinetic-ros-base | |
rosdep init | |
rosdep update --include-eol-distros | |
apt-get install -y python-catkin-pkg python-rosdep ros-kinetic-catkin gksu | |
apt-get install -y python3-pip python3-colcon-common-extensions python3-setuptools python3-vcstool | |
pip3 install -U setuptools | |
mkdir -p autoware.ai/src | |
cd autoware.ai | |
wget -O autoware.ai.repos "https://raw.githubusercontent.com/Autoware-AI/autoware.ai/1.12.0/autoware.ai.repos" | |
vcs import src < autoware.ai.repos | |
rosdep install -y --from-paths src --ignore-src --rosdistro kinetic | |
# fails | |
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release | |
# solution: https://github.com/pypa/setuptools/issues/2541#issuecomment-763275516 | |
pip3 uninstall setuptools && pip3 install setuptools==51.3.3 | |
rm -rf build install log | |
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment