tce-load -i compiletc cmake ffmpeg-dev libXv-dev libxkbfile-dev libICE-dev wget https://github.com/FreeRDP/FreeRDP/releases/download/2.4.0/freerdp-2.4.0.tar.gz cd freerdp-2.4.0 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DWITH_LIBSYSTEMD=OFF -DWITH_PULSE=ON -DWITH_GSTREAMER_1_0=OFF -DWITH_JPEG=ON -DWITH_LAME=ON -DWITH_FFMPEG=ON -DWITH_X264=OFF -DWITH_OSS=OFF -DWITH_SWSCALE=ON -DWITH_CAIRO=ON ../ [flto fails] make [5m 55.43s] sudo make install [WITH_X264=ON] /usr/src/freerdp-2.4.0/libfreerdp/codec/h264_x264.c:41:2: error: #error "X264 backend not implemented, please review your configuration!" 41 | #error "X264 backend not implemented, please review your configuration!" $ xfreerdp /buildconfig This is FreeRDP version 2.4.0 (2.4.0) Build configuration: ... WITH_FFMPEG=TRUE WITH_GFX_H264=ON