-
-
Save YuehChuan/65c82ddc4ae6a3734cb6a958d1c31116 to your computer and use it in GitHub Desktop.
ros2-beta2
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
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment