12 2019 档案

摘要:#include <cassert> /** * Cast one size of int down to another one. * Asserts that no precision is lost at runtime. */ template<typename Small, typenam 阅读全文
posted @ 2019-12-28 10:21 hbg-rohens 阅读(384) 评论(0) 推荐(0) 编辑
摘要:// A macro to disallow the copy constructor and operator= functions #ifndef DISALLOW_COPY_AND_ASSIGN #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ Type 阅读全文
posted @ 2019-12-28 10:13 hbg-rohens 阅读(1263) 评论(0) 推荐(0) 编辑
摘要:libmodbus功能: a fast and portable Modbus library 库下载地址https://libmodbus.org使用指南1)包含头文件#include <modbus.h>2) 编译cc `pkg-config --cflags --libs libmodbus` 阅读全文
posted @ 2019-12-20 14:34 hbg-rohens 阅读(9701) 评论(0) 推荐(0) 编辑
摘要:功能:将一个文件内容为"aa bb cc dd ee ff"等大量数据的文件转换为aabbccddeeff的文件中。测试源文件为all_send.txt. C语言源代码如下: #include <stdio.h>#include <string.h>int main(int argc, char * 阅读全文
posted @ 2019-12-12 15:31 hbg-rohens 阅读(420) 评论(0) 推荐(0) 编辑
摘要:Determining if the include file sys/videoio.h exists failed with the following output:Change Dir: /home/program/opencv-3.2.0/build/CMakeFiles/CMakeTmp 阅读全文
posted @ 2019-12-10 15:25 hbg-rohens 阅读(8337) 评论(0) 推荐(0) 编辑
摘要:Run Build Command:"/usr/bin/make" "cmTC_162a3/fast"/usr/bin/make -f CMakeFiles/cmTC_162a3.dir/build.make CMakeFiles/cmTC_162a3.dir/buildmake[1]: Enter 阅读全文
posted @ 2019-12-10 10:29 hbg-rohens 阅读(2813) 评论(0) 推荐(0) 编辑
摘要:1、手动去下载: github地址为: https://github.com/opencv/opencv_3rdparty/tree/ippicv/master_20151201/ippicv 2、查看下载tgz压缩包的md5 使用命令 md5sum ippicv_linux_20151201.tg 阅读全文
posted @ 2019-12-10 09:58 hbg-rohens 阅读(3018) 评论(0) 推荐(0) 编辑
摘要:Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 JPEG datastream contains no image 对比发送时的全部数据如下(17207字节),跟对端收到时数据一致,但是对端解析时,却把数据部分替换了一些 ff d8 阅读全文
posted @ 2019-12-03 11:35 hbg-rohens 阅读(8402) 评论(0) 推荐(0) 编辑
摘要:OpenCV Error: Unknown error code -10 (Raw image encoder error: Empty JPEG image (DNL not supported)) in throwOnEror, file /home/program/opencv-3.2.0/m 阅读全文
posted @ 2019-12-03 11:19 hbg-rohens 阅读(1735) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示