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
阅读全文
摘要:// A macro to disallow the copy constructor and operator= functions #ifndef DISALLOW_COPY_AND_ASSIGN #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ Type
阅读全文
摘要:libmodbus功能: a fast and portable Modbus library 库下载地址https://libmodbus.org使用指南1)包含头文件#include <modbus.h>2) 编译cc `pkg-config --cflags --libs libmodbus`
阅读全文
摘要:功能:将一个文件内容为"aa bb cc dd ee ff"等大量数据的文件转换为aabbccddeeff的文件中。测试源文件为all_send.txt. C语言源代码如下: #include <stdio.h>#include <string.h>int main(int argc, char *
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:1、手动去下载: github地址为: https://github.com/opencv/opencv_3rdparty/tree/ippicv/master_20151201/ippicv 2、查看下载tgz压缩包的md5 使用命令 md5sum ippicv_linux_20151201.tg
阅读全文
摘要:Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 JPEG datastream contains no image 对比发送时的全部数据如下(17207字节),跟对端收到时数据一致,但是对端解析时,却把数据部分替换了一些 ff d8
阅读全文
摘要: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
阅读全文