最近用到vlc-qt,编译过程如下
- git clone git://github.com/vlc-qt/vlc-qt.git
- cd vlc-qt
- sudo apt-get install cmake
- export QTDIR=/Qt安装路径/5.12.3/gcc_64
- export LD_LIBRARY_PATH=$QTDIR/lib
- export PATH=$PATH:$QTDIR/bin
- sudo apt-get install libvlccore-dev libgl1-mesa-dev libglu1-mesa-dev libvlc-dev
- cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/libvlc-qt
- make
- sudo make install