导航:首页 > 源码编译 > libudevdev源码下载

libudevdev源码下载

发布时间:2022-08-29 03:23:42

A. ubuntu12.04怎么安装pcl

一,下载PCL
$ git clone https://github.com/PointCloudLibrary/pcl.git pcl-trunk
$ ln -s pcl-trunk pcl

二,安装库
$ sudo apt-get install cmake
$ sudo apt-get install g++
$ sudo apt-get install libboost1.55-all-dev
$ sudo apt-get install libeigen3-dev
$ sudo apt-get install libflann-dev
$ sudo apt-get install python
$ sudo apt-get install libusb-1.0-0-dev
$ sudo apt-get install libudev-dev
$ sudo apt-get install openjdk-6-jdk
$ sudo apt-get install freeglut3-dev
$ sudo apt-get install doxygen
$ sudo apt-get install graphviz
$ sudo apt-get install libpng12-dev
$ sudo apt-get install libgtest-dev
$ sudo apt-get install libxmu-dev
$ sudo apt-get install libxi-dev
$ sudo apt-get install libpcap-dev
$ sudo apt-get install libqhull-dev
$ sudo apt-get install libvtk5-qt4-dev
$ sudo apt-get install python-vtk
$ sudo apt-get install libvtk-java

三,编译
$ cd pcl-trunk
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=None -DBUILD_GPU=ON -DBUILD_apps=ON -DBUILD_examples=ON ..
$ make
$ sudo make install

四,测试PCL
1、HOME目录下 pcl-trunk->doc->tutorials->content->sources下有PCL例程:这里我选择的是cloud_viewer文件夹下的cloud_viewer.cpp
2、创建demo包
$ cd catkin_ws/src/
$ catkin_create_pkg demo std_msgs rospy roscpp
3、将cloud_viewer.cpp文件拷贝到demo文件下,同时用cloud_viewer文件夹下的CmakeList.txt代替demo文件夹下的CmakeList.txt文件
4、编译运行cloud_view.cpp源文件
$ cd demo
$ sudo cmake .
$ sudo make
$ ./cloud_viewer

五,运行结果

至此,PCL点云库安装与测试完毕!

B. freerdp打deb包出错dh_install:libfreerdp-plugins-standard missing files(usr/lib/*/freerdp/*.so)

原流程:
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
17. 提示找不到uuid.h
18. sudo apt-get install uuid-dev
19. 提示找不到libudev.h
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桌面版;
2. sudo apt-get install git
3. git clone git://github.com/FreeRDP/FreeRDP.git
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-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavutil-dev libavcodec-dev libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev uuid-dev libudev-dev libusb-1.0 libdbus-glib-1-dev
7. vi ./channels/urbdrc/ChannelOptions.cmake
set(OPTION_CLIENT_DEFAULT OFF)改为set(OPTION_CLIENT_DEFAULT ON)
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

阅读全文

与libudevdev源码下载相关的资料

热点内容
java回车转义字符 浏览:757
linux启动级别修改 浏览:121
单片机采集交流方法 浏览:283
程序员的平凡理想 浏览:236
floyd最短路径算法c 浏览:383
新湖app在哪里下载 浏览:704
计算机图形学涉及的算法 浏览:370
阿里云linux一键web 浏览:26
弹性云服务器注册 浏览:170
垃圾程序员写出垃圾代码 浏览:761
帝国时代java下载 浏览:54
数据结构的经典算法题 浏览:197
逍遥安卓多开管理器是干什么的 浏览:917
程序员收玉米一天多少钱 浏览:358
程序员很可爱根据哪本小说改编的 浏览:987
游戏旧版安卓怎么玩 浏览:266
冗余单片机 浏览:852
cad抽壳命令怎么用 浏览:30
服务器第一地址怎么改 浏览:499
单片机最小系统电路设计流程图 浏览:670