原创 Xenomai 改造 Ubuntu
1、http://xenomai.org/ 獲得補丁源代碼 2、apt-get source linux-image-$(uname -r) 獲得當前 ubuntu 內核源代碼。其他獲得方法:https://wiki.ubuntu.c
原创 Socket 崩潰
1、問題 linux 下socket 發送,當接收端關閉的時候,程序異常崩潰。 The inferior stopped because it received a signal from the operating system. S
原创 'pthread_getspecific@@GLIBC_2.4'
/opt/GSRD/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../.
原创 ubuntu中安裝Qt_ROS 調試程序
**ubuntu中安裝Qt_ROS 調試程序** 1、下載網址 https://qtcreator-ros.datasys.swri.edu/downloads/installers/ 選擇文件 Ubunt
原创 Boost 庫的移植 與 Qt下的應用方法
1、下載boost源碼(boost_1_66_0 2018.01.17 時最新):地址:https://sourceforge.net/projects/boost/files/boost/2、解壓進入目
原创 ubuntu16.04 下兩大開發力器
https://www.howtoinstall.co/en/ubuntu/xenial/anjuta sudo apt-get update sudo apt-get install anjuta https://www.howto
原创 標籤:make時鐘錯誤 touch touch遍歷
標籤:make時鐘錯誤 touch touch遍歷make編譯的時候,出現"make: 警告:檢測到時鐘錯誤。您的創建可能是不完整的"錯誤。解決方法: touch *發現make依然出時鐘告警,由於目錄下面還有文件夾
原创 設置開發板的IP
2、設置IP /etc/network/interfaces auto eth0 #iface eth0 inet dhcp #iface eth1 inet dhcp iface eth0 inet static address 1
原创 socket can error write: No buffer space available
1、查看 root@socfpga:/sys/class/net/can0# cat tx_queue_len 10 2、root@socfpga:/sys/class/net/can0# echo 4096 > tx_queue_
原创 安裝了g2o後,編譯運行 運行 實例程序出現 No such file or directory
安裝了g2o後,編譯運行 運行 實例程序出現:/home/hong/slambook-master/slambook-master/ch6/g2o_curve_fitting/build/curve_fitting: error whil
原创 編譯內核驅動模塊的時候錯誤解決方案
makefile: ifeq ($(KERNELRELEASE),) KERNELDIR ?= /home/sfe1012/GSRD/linux-socfpga-socfpga-3.12/ PWD := $(shell pwd) m
原创 Linux 開發環境構建
1、安裝32位兼容庫 sudo apt-get install libc6:i386 sudo apt-get install lib32stdc++6 sudo apt-get install lib32
原创 G2O
https://github.com/RainerKuemmerle/g2o1、sudo apt-get install libeigen3-dev libsuitesparse-dev qtdeclarative5-dev qt5-q
原创 幻數使用說明
幻數使用說明 在驅動程序中實現的ioctl函數體內,實際上是有一個switch{case}結構,每一個case對應一個命令碼,做出一些相應的操作。怎麼實現這些操作,這是每一個程序員自己的事情。 因爲設備都是特定的,這裏也沒法說。關鍵在於
原创 下載一個新內核想編譯一個內核驅動之前工作
https://www.kernel.org/pub/linux/kernel/ 1.下載完成之後,把它放在/usr/src 下 2.解壓 3. 正常情況下, 在/lib/modules/{uname -v}下,我的版本是/lib