Created
June 12, 2020 00:36
-
-
Save loganzartman/b14af78094c5741309e2d909b79afb54 to your computer and use it in GitHub Desktop.
Install catkin packages on Arch
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
# this sucks | |
# you will need to chmod some /opt/ros/melodic directories for make install to work... | |
# feel free to tell me how to actually do this | |
source /usr/share/ros-build-tools/clear-ros-env.sh | |
source /opt/ros/melodic/setup.bash | |
mkdir build | |
cd build | |
/usr/share/ros-build-tools/fix-python-scripts.sh -v 3 .. | |
cmake .. \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DCATKIN_ENABLE_TESTING=0 \ | |
-DCATKIN_BUILD_BINARY_PACKAGE=ON \ | |
-DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \ | |
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ | |
-DPYTHON_INCLUDE_DIR=/usr/include/python3.8 \ | |
-DPYTHON_LIBRARY=/usr/lib/libpython3.8.so \ | |
-DPYTHON_BASENAME=.cpython-38 \ | |
-DSETUPTOOLS_DEB_LAYOUT=OFF | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment