2023年3月29日

VCPKG修改Hash安装eigen3

摘要: 用VCPKG安装eigen3时,出现以下错误: Error: Failed to download from mirror set: File does not have the expected hash: url : [ https://gitlab.com/libeigen/eigen/-/a 阅读全文

posted @ 2023-03-29 10:42 OctoberKey 阅读(224) 评论(0) 推荐(0) 编辑

2023年3月7日

C++中使用interface

摘要: C++中使用interface 使用struct; 不使用成员变量,只使用成员函数; 所有成员函数都是纯虚的; 不使用构造函数和析构函数; 参考 C++的interface_c++ interface_Stephan_zry的博客-CSDN博客 c++ 如何编写接口类(interface)_c++接 阅读全文

posted @ 2023-03-07 09:33 OctoberKey 阅读(51) 评论(0) 推荐(0) 编辑

2023年1月12日

Win10家庭版找不到组策略gpedit.msc怎么办

摘要: Win10家庭版找不到组策略gpedit.msc怎么办 @echo off pushd "%~dp0" dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Pack 阅读全文

posted @ 2023-01-12 11:09 OctoberKey 阅读(37) 评论(0) 推荐(0) 编辑

2022年12月17日

VC如何创建C编译器能使用的动态库

摘要: 方法 使用extern "C"修饰 设置统一的调用约定 举例 例1——使用__cdecl,一般C编译器使用此约定,如LabWidnows/CVI。 cpp代码 extern "C" __declspec(dllexport) uint32 __cdecl glFindDevices(uint32* 阅读全文

posted @ 2022-12-17 13:11 OctoberKey 阅读(53) 评论(0) 推荐(0) 编辑

EXE项目和DLL项目远程调试、Props设置说明

摘要: 通用宏设置 exe项目根据平台、配置设置输出路径; dll项目根据平台、配置设置输出路径,dll文件、lib文件分别输出到自己的路径; 中间文件根据平台、配置、项目设置输出路径; 设置远程调试命令、远程工作目录、远程服务器目录、部署目录等; Common.props,exe项目和dll项目添加。 < 阅读全文

posted @ 2022-12-17 10:39 OctoberKey 阅读(100) 评论(0) 推荐(0) 编辑

2022年11月29日

VS2019使用Qt4.8.7

摘要: 取消系统变量中的Qt_INCLUDEPATH_。 C:\Users\octob\AppData\Local\QtMsBuild中添加qt4.natvis.xml,qt4.natvis for visual studio 2015 for qt4 I verified QString, QVector 阅读全文

posted @ 2022-11-29 15:54 OctoberKey 阅读(123) 评论(0) 推荐(0) 编辑

Windows10+VS2019从源码编译 Qt5

摘要: 参考 Windows10+MSVC(VS2022)从源码编译QT5.12.11 - 知乎 (zhihu.com) qt-labs/vstools ~ qt-labs/vstools (github.com) Building Qt 5 from Git/zh - Qt Wiki Qt Configu 阅读全文

posted @ 2022-11-29 13:25 OctoberKey 阅读(296) 评论(0) 推荐(0) 编辑

VS2019编译Qt4.8.7

摘要: 下载4.8.7源码Index of /archive/qt/4.8/4.8.7 复制mkspecs\win32-msvc2015到mkspecs\win32-msvc2019 修改qmake.conf 第2行:2017=>2019 第4行:2017=>2019 第12行:_MSC_VER=1920 阅读全文

posted @ 2022-11-29 13:19 OctoberKey 阅读(432) 评论(0) 推荐(0) 编辑

2022年11月28日

spdlog库和fmt库是否使用dll宏定义

摘要: | 定义FMT_HEADER_ONLY | 定义SPDLOG_COMPILED_LIB | 使用fmt.dll | 使用spdlog.dll | | : : | : : | : : | : : | | NO | NO | YES | NO | | YES | NO | NO | NO | | NO 阅读全文

posted @ 2022-11-28 17:01 OctoberKey 阅读(47) 评论(0) 推荐(0) 编辑

VS2019使用gtest

摘要: VS2019使用gtest GoogleTest测试框架介绍(一)_liitdar的博客-CSDN博客_goole test 术语 test/test case/test suit |Meaning |GoogleTest Term |ISTQB Term| |-|-|-| |Exercise a 阅读全文

posted @ 2022-11-28 11:24 OctoberKey 阅读(307) 评论(0) 推荐(0) 编辑

导航