摘要: 所有的警告都被当作是错误 在全局域: cc1plus: 错误:unrecognized command line option ‘-Wno-unknown-warning’ [-Werror] cc1plus:所有的警告都被当作是错误 解决办法:去除CMakeLists.txt中的-Werror 阅读全文
posted @ 2023-10-11 15:31 风中奔跑 阅读(741) 评论(0) 推荐(0)
摘要: 系统版本: 4.19.0-loongson-3-desktop loongarch64 GNU/Linux 编译renderdoc时报错 /usr/bin/ld: 找不到 -liconv, 需手工下载libiconv代码编译: wget https://ftp.gnu.org/pub/gnu/lib 阅读全文
posted @ 2023-09-27 14:26 风中奔跑 阅读(45) 评论(0) 推荐(0)
摘要: vs shader如下面格式: //vs #version 450 layout(binding = 0) uniform UniformBufferObject { mat4 model; mat4 view; mat4 proj; } ubo; layout(location = 0) in v 阅读全文
posted @ 2023-09-19 11:13 风中奔跑 阅读(62) 评论(0) 推荐(0)
摘要: 1. 安装刃7000K-28IMB蓝屏死机修复工具: 刃7000-28IMB刃7000K-28IMB蓝屏死机修复工具-联想知识库 (lenovo.com.cn) 2. 禁用NVIDIA USB 3.10可扩展主机控制器:右击我的电脑-管理-设备管理器-通用串行总线控制器 阅读全文
posted @ 2023-09-13 22:35 风中奔跑 阅读(447) 评论(0) 推荐(0)
摘要: 1. 菜单中的【宏】-【开始录制】2. 鼠标在任意一行内容上单击,使光标停在这行3. 按Home键 -> Shift+End -> delete 2次4. 菜单中的【宏】-【停止录制】5. 菜单中的【宏】-【保存录制】6. 设置快捷键 Ctrl+E 阅读全文
posted @ 2023-08-30 12:41 风中奔跑 阅读(373) 评论(0) 推荐(0)
摘要: 如果shader中的资源是这么排布的: //vs layout(set = 0, binding = 0, std140) uniform UBO { mat4 projection; mat4 view; mat4 model; } ubo; layout(location = 0) in vec 阅读全文
posted @ 2023-08-09 23:26 风中奔跑 阅读(182) 评论(0) 推荐(0)
摘要: 1. 判断系统平台 IF (WIN32) MESSAGE(STATUS "windows") ELSEIF (APPLE) MESSAGE(STATUS "Apple OS") ELSEIF (UNIX) MESSAGE(STATUS "UNIX OS") ENDIF () 或 IF (${CMAK 阅读全文
posted @ 2023-08-01 16:05 风中奔跑 阅读(29) 评论(0) 推荐(0)
摘要: git更换远程仓库地址:git remote set-url origin 新地址 tag操作 #查看tag git tag #查看本地所有tag git ls-remote --tags origin #查看远程所有tag git checkout [tagname] #切换标签 #两种打标签方式 阅读全文
posted @ 2023-07-24 20:55 风中奔跑 阅读(8) 评论(0) 推荐(0)
摘要: 转载自:如何使用Python实现XML转JSON - 知乎 (zhihu.com) 代码: import os import json import xmltodict def xml_to_JSON(xml): # 格式转换 try: convertJson = xmltodict.parse(x 阅读全文
posted @ 2023-07-23 17:32 风中奔跑 阅读(251) 评论(0) 推荐(0)
摘要: 锁屏壁纸路径:C:\Users\用户名\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 开机启动项: Win + R,输入“shell:startup” h 阅读全文
posted @ 2023-07-21 21:43 风中奔跑 阅读(29) 评论(0) 推荐(0)