- 博客(7)
- 资源 (9)
- 收藏
- 关注
原创 虚拟地址/物理地址——virtual address(memory)/physical address: 树莓派 mmap example
通常: If you want to find a way for access physical memory in Linux there are only two solutions. The first is to develop a module running in kernel space with the correct privileges to access physical
2015-10-30 23:43:53 8166
原创 从 this 指针获得一个shared_ptr: enable_shared_from_this
当你只有一个this指针的时候,而你又想通过这个this指针得到一个shared_ptr,你就需要用到 enable_shared_from_this 了。其中 enable_shared_from_this 可以来自boost中的,也来自c++11:class Y: public enable_shared_from_this<Y>{public: shared_ptr<Y> f()
2015-10-28 10:42:53 4777
原创 linux .deb 包的制作
方法1deb包介绍: “.deb”是Debian软件包格式的文件扩展名。 deb包是Unixar的标准归档,将包文件信息以及包内容,经过gzip和tar打包而成;处理这些包的经典程序是dpkg. 一个deb包通常由两部分组成,控制脚本 和 程序数据: dpkg是Debian软件包管理器的基础,主要负责安全卸载软件包,配置,以及维护已安装的软件包。 apt(Advanced Packagi
2015-10-21 10:53:05 5970
原创 ubuntu 安装 eclipse CDT 配置 sublime c++ 主题
eclipse & sublime主题设置安装 java-runtime-envsudo apt-get install default-jre在eclipse 官网下载 eclipse CDT运行eclipse,点击[help]->Eclipse Marketplace…,搜索 Eclipse Color Theme 并安装之(不安装下一步没有 color theme 选项)点击[Win
2015-10-19 22:35:49 3387
原创 ubuntu 调试 core 文件
DescriptionCore dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apach
2015-10-16 14:59:20 5363
原创 Boost 的编译(交叉)安装 & cmake find_package(Boost)
下载 boost 1.59的源码,执行:bootstrap.sh编辑文件 project-config.jam,用 “using gcc : arm : arm-linux-gnueabihf-g++-4.8” 替换 “using gcc”;执行编译安装:./bjam install toolset=gcc-arm --prefix=/path/to/install --disable-
2015-10-15 16:05:47 9678 2
原创 apt-get, apt-cache search, dpkg : ubuntu 安装包 管理, apt-get purge/install -f
Fuck food:dpkg -l // list,默认为列出所有已安装的package,或者使用 dpkg --get-selections | grep installdpkg -l | grep boost // 查找dpkg -l libboost* // 模式选择,列出所有与 libboost* 相关的已安装的或者未安装的package,可以用来查看所需要的安装包,
2015-10-15 15:41:26 3888
orocos rtt with xenomai & kuka lwr
2017-03-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人