The ACT application depends on various libraries. Run the following commands one after each other:
sudo apt-get update sudo apt-get upgrade # If you do not run the latest Raspbian version then a dist-upgrade might be necessary: # sudo apt-get dist-upgrade sudo apt-get install openssl sqlite libts-0.0 libinput5 libgles2-mesa libstdc++6 libgcc1 \ libc6 libegl1-mesa libegl1-mesa-drivers libexpat1 libz1 libpng12-0 libevdev2 libpcre3 \ libxdmcp6 libxau6 libfreetype6 libfontconfig1 libmtdev1 libudev1 libxkbcommon0 libglib2.0-0 \ libx11-6 libx11-xcb1 libxext6 libts-0.0-0 libxcb1 libdbus-1.3 wicd-cli
The following packages are optional:
sudo apt-get install gstreamer1.0-omx libgstreamer1.0-dev libgstreamer-plugins-base1.0
It might also be necessary to run the following commands:
sudo mv /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0 /usr/lib/arm-linux-gnueabihf/_old_libEGL.so.1.0.0 sudo mv /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0 /usr/lib/arm-linux-gnueabihf/_old_libGLESv2.so.2.0.0 sudo ln -s /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0 sudo ln -s /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
Then extract the downloaded Action Camera Toolbox file:
cd ~/Downloads tar xfvz actpi.tar.gz cd act ./act.sh
Note: Depending on your SD card speed the apt-get install
commands can take some time.
If you encounter problems like missing dependencies then the following commands can help you to track down the problem:
ldd act // or ldd "some-library-name"
If ldd
returns one or multiple “not found” entries then you have to manually install the missing packages.
OpenGL is disabled by default on the Raspberry Pi in Raspbian. If you have a Raspberry Pi 2 or newer then you can install hardware acceleration as described here: https://www.raspberrypi.org/blog/another-new-raspbian-release/