Skip to content

Instantly share code, notes, and snippets.

@abilbaotm
Last active July 17, 2017 19:22
Show Gist options
  • Save abilbaotm/eaf12299c7a37d867713b5f42e820470 to your computer and use it in GitHub Desktop.
Save abilbaotm/eaf12299c7a37d867713b5f42e820470 to your computer and use it in GitHub Desktop.
ros2-beta2
# Python3.5 (Raspbian 8 comes with Python3.4)
cd ~ #or somewhere
sudo apt-get purge python3
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
tar -xvf Python-3.5.2.tar.xz
cd Python-3.5.2
./configure
make
sudo make install
# do not forget the dependencies
sudo pip3 install argcomplete flake8 flake8-import-order
# OpenSSL
cd ~ #or somewhere
git clone git://git.openssl.org/openssl.git
cd openssl
git checkout OpenSSL_1_0_2g
CFLAGS=-fPIC ./config shared
make depend; make
make test
sudo make install
# Go to compile
cd ~/ros2_ws #or somewhere
src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install --cmake-args -DSECURITY=ON -DOPENSSL_ROOT_DIR=/usr/local/ssl -- -j1
@abilbaotm
Copy link
Author

abilbaotm commented Jul 14, 2017

Sometimes em is missing

#Fix: ImportError: No module named 'em'
sudo pip3 install empy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment