在linux下编译 linphone 桌面版

经过一个下午的折腾终于编译成功

编译环境 : linux ubuntu18 64bits

1,安装 qt-opensource-linux-x64-5.11.0.run 并设置环境变量

export Qt5_DIR='/opt/Qt5.11.0/5.11.0/gcc_64/lib/cmake'

export PATH="/opt/Qt5.11.0/5.11.0/gcc_64/bin:$PATH"

2,安装相关包

sudo apt-get install libtool  
sudo apt-get install libsysfs-dev
apt-get install libbsd-dev
先删除alsa模块
sudo apt-get remove linux-sound-base alsa-base alsa-utils
再重新安装alsa模块
sudo apt-get install xmlto libasound2-dev
sudo apt-get install linux-sound-base alsa-base alsa-utils
重点是libglew-dev( sudo apt-get install libglew-dbg libglew-dev libglew1.10 libglewmx-dbg libglewmx-dev libglewmx1.10 glew-utils)
sudo apt-get install doxygen
sudo apt-get install graphviz
apt-get install python-pip

pip install pystache

./prepare --debug

make

成功!

你可能感兴趣的:(在linux下编译 linphone 桌面版)