C++
路口游子
本博客仅供免费阅读,不提供咨询服务,请勿私信。
展开
-
error: git-remote-https died of signal 4
error: git-remote-https died of signal 4原创 2022-11-23 00:11:52 · 1399 阅读 · 1 评论 -
go 这种垃圾代码,是怎么流行的,一堆错误。
cmd/distlib9。原创 2022-10-29 19:35:20 · 8821 阅读 · 9 评论 -
error: expression does not compute the number of elements in this array;
error: expression does not compute the number of elements in this array; element type is 'struct __jmp_buf_tag', not 'long int'原创 2022-10-29 18:46:03 · 419 阅读 · 0 评论 -
Ubuntu 12.04.5 LTS 下 SDL-release-2_24_0/libexec/installed-tests/SDL2/testgl2 的SDL_PollEvent异常。
Ubuntu 12.04.5 LTS 下 SDL-release-2_24_0/libexec/installed-tests/SDL2/testgl2 的SDL_PollEvent异常。原创 2022-10-29 12:16:16 · 310 阅读 · 0 评论 -
Development Studio
转存失败重新上传取消转存失败重新上传取消64 bit File informationClose xClose xClose xClose xClose xClose xClose xClose xClose xClose xClose xClose xClose xClose x。原创 2022-10-26 10:26:49 · 1005 阅读 · 0 评论 -
ADS2009下载
ADS 2009原创 2022-10-26 02:31:58 · 694 阅读 · 0 评论 -
ubuntu 登录进不了桌面,登录死循环
ni ma原创 2022-08-08 12:17:25 · 429 阅读 · 0 评论 -
Ubuntu22.04 升级失败
已中止升级。请检查您的互联网连接或安装媒体并重试。所有已下载的文件都已保存。Failed to fetchhttp://cn.archive.ubuntu.com/ubuntu/pool/universe/f/fonttools/python3-fonttools_4.29.1-2build1_amd64.deb连接失败 [IP: 91.189.91.38 80]Failed to fetchhttp://cn.archive.ubuntu.com/ubuntu/pool/univer...原创 2022-04-30 09:23:36 · 3191 阅读 · 1 评论 -
windows 下notepad++ 替换空行
总色数:8 x 8 x 8 = 8^3 = 256 色 色彩过滤: 例1,红色从原来32位转为现在的8位,即原来每4位映射到现在的1位。 ...原创 2021-11-11 20:23:21 · 287 阅读 · 0 评论 -
Windows CodePage
CodePage Charset Friendly Name Preferred Charset Label Aliases 1256 Arabic (ASMO 708) ASMO-708 1256 Arabic (DOS) DOS-720 1256 Arabic (ISO) iso-8859-6 arabic, csISOLatinArabic, ECMA-114, ISO_8859-6, ISO_8859-6:1..原创 2021-11-11 20:21:58 · 364 阅读 · 0 评论 -
tmschema.h
#if _MSC_VER < 1700 // Before Visual Studio 2012#include <tmschema.h>#else#include <vsstyle.h>#endif原创 2021-06-06 20:20:13 · 511 阅读 · 0 评论 -
cmake TARGET_OBJECT 会改变依赖关系
cmake TARGET_OBJECT 会改变依赖关系,容易导致编译不过。原创 2021-05-23 09:48:03 · 1222 阅读 · 0 评论 -
pacman -Syu 一堆错
Administrator@MYMINGW64 /d/code/iverilog/iverilog/msys2# curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current ...原创 2021-03-27 15:31:41 · 1772 阅读 · 0 评论 -
无法解析的外部符号 SDL_main
删掉下面这个垃圾写法即可#ifdef main# undef main#endif /* main */原创 2021-01-29 22:42:51 · 153 阅读 · 0 评论 -
SDL main
#pragma comment(lib, "Setupapi.lib")#pragma comment(lib, "Winmm.lib")#pragma comment(lib, "Imm32.lib")#pragma comment(lib, "Version.lib")原创 2021-01-29 22:16:21 · 160 阅读 · 0 评论 -
undefined reference to `vtable for __cxxabiv1::__class_type_info
undefined reference to `vtable for __cxxabiv1::__class_type_info-fno-rtti原创 2021-01-01 16:37:12 · 595 阅读 · 0 评论 -
VS每个文件都搞两次,导致重定义。
vs这踏马是在抽风吗?随便新建个工程都这样,这是怎么回事原创 2020-09-05 17:01:52 · 168 阅读 · 0 评论 -
windows 加载目录下所有指定类型文件
此代码仅供参考,不能直接使用,需修改 SetCurrentDirectoryW(targetDir.c_str()); char searchName[deflen] = "";#ifdef _WIN64 sprintf_s(searchName, "%s\\*.drz", targetDir);#else sprintf_s(searchName, "%s\\*.drz", targetDir);#endif // _WIN64 WIN32_FIND_DATAW...原创 2020-08-29 22:26:00 · 160 阅读 · 0 评论 -
Octree
头文件源文件主程序#ifndef __OCTREE_H__#define __OCTREE_H__#include <map>class OctreeNode{public: OctreeNode(); OctreeNode(int level, int value); OctreeNode(const OctreeNode& node); ~OctreeNode();public: int Assign(int level, int value); int原创 2020-08-22 16:19:46 · 174 阅读 · 0 评论 -
无法定位程序输入点 ?DumpInfo@Fuck@DYZ@@QEAAXXZ 于动态链接库
---------------------------helloworld.exe - 无法找到入口---------------------------无法定位程序输入点 ?DumpInfo@Fuck@DYZ@@QEAAXXZ 于动态链接库 Debug\helloworld.exe 上。---------------------------确定 ---------------------------动态库缺失...原创 2020-07-31 21:32:19 · 1447 阅读 · 0 评论 -
FreeType使用
注意:此代码有问题,仅供参考,不能照搬。该代码是对网络上的一些代码的整理和修改后的版本。float int26p6_to_float(long v){ return (float)v;}int PaintLine(FT_Vector start, FT_Vector end){ QPainter painter; QPen pen(RandColor()); float startX = int26p6_to_float(start.x); float...原创 2020-07-25 15:05:10 · 365 阅读 · 0 评论 -
error C2653: “VSource”: 不是类或命名空间名称
error C2653: “VSource”: 不是类或命名空间名称原创 2020-03-21 22:33:48 · 431 阅读 · 0 评论 -
daydream requires a Minimum API Level of 24. You have select 19
daydream requires a Minimum API Level of 24. You have select 19原创 2019-12-01 15:36:29 · 427 阅读 · 0 评论 -
needed by arm64-v8a/libcardboard_jni.so
ninja: error: '../../../../libraries/jni/arm64-v8a/libcardboard_api.so', needed by '../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libcardboard_jni.so', missing and no known rule to make it...原创 2019-11-30 23:26:42 · 711 阅读 · 1 评论 -
colorspace_rgb_mmx.asm
;=============================================================================; Code;=============================================================================TEXT%include "colorspace_mmx.inc...原创 2019-10-27 20:57:19 · 188 阅读 · 0 评论 -
配置文件读取和解析
#include #include #include #include #include #include #define SUB_PACKET "SubPacket="#define EQUIP_TYPE_ID "EquipTypeID="#define FEATURE_CODE "FeatureCode="#define FILE_TYPE原创 2017-03-02 23:18:39 · 696 阅读 · 0 评论 -
c:\program files\borland\cbuilder6\bin\bcb.$$$ 重命名为c:\program files\borland\cbuilder6\bin\bcb.dro
c:\program files\borland\cbuilder6\bin\bcb.$$$ 重命名为c:\program files\borland\cbuilder6\bin\bcb.dro管理员权限原创 2017-07-08 23:34:50 · 1376 阅读 · 0 评论 -
(Maybe you should just omit the defined()?) at kernel/timeconst.pl line
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373./opt/ARM/mini6410/linux/linux-2.6.38/kernel/Makefile:140: recipe for target 'kernel/timeconst.转载 2017-07-09 15:48:43 · 471 阅读 · 0 评论 -
sudo yum install cuda
sudo rpm -i cuda-repo-rhel7-9.1.85-1.x86_64.rpm [durongze@localhost ~]$ sudo yum install cuda已加载插件:fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirror.bit.edu.c原创 2018-01-22 21:51:29 · 2236 阅读 · 0 评论 -
对重载的‘MyString()’的调用有歧义
string.cpp: 在成员函数‘MyString MyString::operator+(const MyString&) const’中:string.cpp:50:14: 错误: 对重载的‘MyString()’的调用有歧义string.cpp:50:14: 附注: 备选是:string.cpp:15:1: 附注: MyString::MyString(const char*)原创 2018-01-24 23:43:27 · 860 阅读 · 1 评论 -
错误:软件包:1:nvidia-kmod-390.12-2.el7.x86_64 (cuda) 需要:dkms
$sudo yum install nvidia-kmod-387.26-2.el7.x86_64 已加载插件:fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirror.bit.edu.cn * extras: mirror.bit.edu.cn * updates: mi原创 2018-01-25 23:32:45 · 2788 阅读 · 1 评论 -
多线程变慢
#ifndef __SYNC_QUEUE_HPP__#define __SYNC_QUEUE_HPP__#include <queue>#include <string>#include <boost/shared_ptr.hpp>#include <chrono>#include <ctime>using namespace std;u...原创 2018-03-04 17:52:37 · 1226 阅读 · 0 评论 -
SimpleViewer
main:1. const char* deviceURI = openni::ANY_DEVICE;2. rc = openni::OpenNI::initialize();3. rc = device.open(deviceURI);4. rc = depth.create(device, openni::SENSOR_DEPTH);5. rc = color.creat...转载 2018-05-09 17:19:26 · 650 阅读 · 0 评论 -
openni2
/* * All of the window-specific callbacks setting methods can be generalized to this: */#define SET_CALLBACK(a) \do ...转载 2018-04-25 15:49:26 · 195 阅读 · 0 评论 -
openni2 OniFrame
/** Description of the output: format and resolution */typedef struct{ /* // Depth ONI_PIXEL_FORMAT_DEPTH_1_MM = 100, ONI_PIXEL_FORMAT_DEPTH_100_UM = 101, ONI_PIXEL_FORMAT_SHIFT_9_2 = 102, ...转载 2018-04-25 17:47:57 · 245 阅读 · 0 评论 -
DriverHandler::DriverHandler
DriverHandler::DriverHandler(const char* library, xnl::ErrorLogger& errorLogger){ m_valid = false; xnOSMemSet(&funcs, 0, sizeof(funcs)); XnStatus rc = xnOSLoadLibrary(library, &m_...转载 2018-05-10 10:38:08 · 388 阅读 · 0 评论 -
SFG_Structure
/* This holds information about all the windows, menus etc. */typedef struct tagSFG_Structure SFG_Structure;struct tagSFG_Structure{ SFG_List Windows; /* The global windows list ...转载 2018-05-13 12:11:15 · 200 阅读 · 0 评论 -
SFG_Window
/* * A window, making part of freeglut windows hierarchy. * Should be kept portable. * * NOTE that ActiveMenu is set to menu itself if the window is a menu. */struct tagSFG_Window{ SFG_Node ...转载 2018-05-13 13:15:54 · 176 阅读 · 0 评论 -
missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) sudo apt-fast install libgl1-mesa-dev原创 2018-05-13 17:26:01 · 10298 阅读 · 3 评论 -
drawColor
void drawColor(IntRect* pLocation, IntPair* pPointer, int pointerRed, int pointerGreen, int pointerBlue){ if (g_DrawConfig.Streams.Color.Coloring == COLOR_OFF) return; if (!isColorOn() &a...转载 2018-05-08 09:42:28 · 916 阅读 · 0 评论