- Enable apport [link: Where do I find the core dump in ubuntu 16.04LTS?]
sudo systemctl enable apport.service
- Get into root
sudo su
- Run the following
sudo systemctl enable apport.service
sudo su
Example if one try to use python 3.6.5
located in pyenv
environment
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DSETUPTOOLS_DEB_LAYOUT=OFF -DPYTHON_EXECUTABLE=/home/user/.pyenv/versions/3.6.5/bin/python3.6m -DPYTHON_INCLUDE_DIR=/home/user/.pyenv/versions/3.6.5/include/python3.6m -DPYTHON_LIBRARY=/home/user/.pyenv/versions/3.6.5/lib/libpython3.6m.so
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DSETUPTOOLS_DEB_LAYOUT=OFF -DPYTHON_EXECUTABLE=~/.pyenv/versions/ros/bin/python3 -DPYTHON_INCLUDE_DIRS=~/.pyenv/versions/3.6.9/include/python3.6m
Caution: This is not revert, and only do this for personal commits | |
### Steps | |
1. `git log` | |
2. get the hash | |
3. `git reset --hard <hash> | |
### (Alternative) Steps | |
1. `git log` | |
2. `git reset --hard HEAD~1` (This reset previous 1 commit) |
Error libtool: command not found
Solve it by sudo apt install libtool-bin
StackExchange: libtool installed but not found in /usr/bin
I was trying to run xsens mti driver the other day. However, issues related to Failed to load platform plugin "xcb"
occurs. Not really the best error message out there isn't it.
As always, stackoverflow helps. This helps me to debug the issue.
LD_LIBRARY_PATH=. QT_DEBUG_PLUGINS=1 ./mtmanager