摘要: /* Create by sndnvaps* data: 2015-04-12* upload 2 datapoint to yeelink.net at the same time * post by sndnvaps * hold on https://github.com/sndnvaps/M... 阅读全文
posted @ 2015-04-12 19:00 sndnvaps 阅读(453) 评论(0) 推荐(0) 编辑
摘要: rpi默认安装的编译器是gcc-4.6.2而现在最新的c++ libsockets library 需要使用支持c++-11特征的编译器,即需要4.8.2才可以。为此,需要先升级编译器才可以支持编译。还需要cmake 来生成 Makefile文件步骤如下: 1、下载源代码: git clon... 阅读全文
posted @ 2015-04-12 14:39 sndnvaps 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: 首先,更新你的树莓派(避免编译出来版本不对导致不能insert)sudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgradesudo rpi-update更新gcc和g++:sudo apt-get install gcc-4.8 ... 阅读全文
posted @ 2015-04-12 14:28 sndnvaps 阅读(5539) 评论(0) 推荐(0) 编辑