我正在尝试编译自由RDP我有这个 cmake 命令
cmake -DMONOLITHIC_BUILD=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release \
-DWITH_SSE2=OFF -DWITH_ALSA=OFF -DWITH_FFMPEG=OFF -DWITH_MANPAGES=OFF \
-DWITH_SERVER_INTERFACE=OFF -DWITH-PULSE=OFF -DWITH_GSTREAMER_1_0=OFF \
-DWITH_XKBFILE=OFF -DWITH_XINERAMA=OFF -DWITH_XEXT=OFF -DWITH_XCURSOR=OFF \
-DWITH_XV=OFF -DWITH_XI=OFF -DWITH_XRENDER=OFF -DWITH_XFIXES=OFF .
当我启动make
命令时出现此错误
/usr/bin/ld:CMakeFiles/xfreerdp-client.dir/xf_floatbar.co:对符号“XShapeCombineMask”未定义引用 //usr/lib/x86_64-linux-gnu/libXext.so.6:添加符号时出错:命令行中缺少 DSO collect2:错误:ld 返回 1 退出状态 client/X11/CMakeFiles/xfreerdp-client.dir/build.make:497:目标“client/X11/xfreerdp”的配方失败 make[2]:*** [client/X11/xfreerdp] 错误 1 CMakeFiles/Makefile2:3243:目标“client/X11/CMakeFiles/xfreerdp-client.dir/all”的配方失败1:*** [client/X11/CMakeFiles/xfreerdp-client.dir/all] 错误 2 Makefile:133:目标“全部”的配方失败 make:*** [all] 错误 2
安装的库:
libssl1.0-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libavutil-dev libavcodec-dev libusb-1.0-0-dev libxtst-dev
任何修复或想法如何解决