
第三方库
文章平均质量分 52
cmake.EXE
乱写一通作为记录,勿关注
展开
-
Windows 10下,OpenCV4 与 contribute 一起编译,第三方库无法下载的解决方案
freetype,harfbuzz,opencv-contribute编译https://blog.youkuaiyun.com/hensonwells/article/details/123085406参考上述链接,编译OpenCV的过程中,因为一个众所周知的原因导致第三方库下载出错,`IPPICV: Download: ippicv_2020_win_intel64_20191018_general.zipTry 1 failedCMake Warning at cmake/OpenCVDownlo原创 2022-03-08 21:16:35 · 4905 阅读 · 3 评论 -
boost消除警告 #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...)
boost消除警告 #pragma message: The practice of declaring the Bind placeholders (_1, _2, …)g++ -o service main.cpp -L -lboost_thread -lboost_system -lpthread改為:g++ -o service main.cpp -L -lboost_thread -lboost_system -lpthread -DBOOST_BIND_GLOBAL_PLACEHOLDER原创 2021-05-11 14:46:56 · 3829 阅读 · 1 评论 -
TinyXML2 创建及操作XML文件
TinyXML2 下载地fhg :https://github.com/leethomason/tinyxml2使用方法:将.h.cpp 放至工程中,然后 引用#include"tinyxml2.h"using namespace tinyxml2;即可以如下XML文件格式进行解析:<?xml version="1.0" encoding="UTF-8"?><频率名称列表> <测试> <起始频率>555</原创 2020-05-12 13:59:42 · 1130 阅读 · 0 评论 -
FFMpeg录屏, avcodec_open2 返回 -1
nRet = avcodec_open2(m_pAVEncodeCtx, pEncoder, nullptr);if (nRet < 0){ XXLOG->writeErrorInfo("录制屏幕 - 打开编码器失败"); YHLOG->writeErrorInfo(QString("Error-- id: %1. code: %2"). arg(pEncoder-&...原创 2019-12-17 16:49:14 · 1180 阅读 · 0 评论 -
QWT 对坐标轴缩放拖动
https://forum.qt.io/topic/54848/qwtplot-zooming-logarithmic-scale/2zoscHello,i have a QwtPlot with a logarithmic scale on y and time scale on x. That was not the problem, but zooming into the graph....转载 2019-12-10 16:50:07 · 1569 阅读 · 0 评论 -
单实例 DLL 文件中,封装 Log4CPlus 日志库
Log4CPlus若作为一个 单例模式,单独封装在DLL中,无法将日志写入文件中需要将如下Log4CPlus 的初始化代码放在DLL外, 使用Log4CPlus前 :log4cplus::Initializer initializer;主程序:////#include <QtCore/QCoreApplication>////////int main(int argc,...原创 2019-10-12 13:43:06 · 1018 阅读 · 0 评论 -
BOOST存储 XML格式化问题
存储后,格式错乱http://www.cnblogs.com/coding-my-life/p/4070201.htmlboost::property_tree::xml_writer_settings<char> settings('\t',1);write_xml(filename, pt,std::local(),settings);意思是缩进1个\t,结果报了一大堆错...原创 2019-05-07 10:06:34 · 1012 阅读 · 0 评论