Ubuntu12编译FreeRDP
前端之家收集整理的这篇文章主要介绍了
Ubuntu12编译FreeRDP,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
原流程:
1. 安装Ubuntu12.04.1桌面版;
2. sudo apt-get install git
3.git clone git://github.com/FreeRDP/FreeRDP.git
4. cd FreeRDP (可以先备份)
5.sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev
6. sudo apt-get install libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev
7. sudo apt-get install libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
8.sudo apt-get install libavutil-dev libavcodec-dev
9.sudo apt-get install libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev
10. cmake .
11. make
12. sudo make install
13. vi ./channels/urbdrc/ChannelOptions.cmake
set(OPTION_CLIENT_DEFAULT OFF)改为set(OPTION_CLIENT_DEFAULT ON)
14. rm CMakeCache.txt
15. cmake .
16. make
18. sudo apt-get install uuid-dev
20. sudo apt-get install libudev-dev
21.
提示找不到libusb-1.0/libusb.h
22. sudo apt-get install libusb-1.0
23.
提示连接
错误找不到-ldbus-glib-1
24. sudo apt-get install libdbus-glib-1-dev
25. xfreerdp /u:administrator /sec:rdp /usb:id,dev:XXXX:XXXX /v:192.168.5.84
简化流程:
1. 安装Ubuntu12.04.1桌面版;
4. tar cvfz ./FreeRDP.tar.gz ./FreeRDP/
5. cd FreeRDP
6.sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-devlibxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-devlibxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-devlibavutil-dev libavcodec-dev libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-devuuid-devlibudev-devlibusb-1.0libdbus-glib-1-dev
7.vi ./channels/urbdrc/ChannelOptions.cmake
8. cmake .
9. make
10. sudo make install
11. 测试
cd /usr/local/bin
./xfreerdp /u:administrator /sec:rdp /usb:id,dev:XXXX:XXXX /v:192.168.5.84
原文链接:https://www.f2er.com/ubuntu/352444.html