会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
尘归风
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2020年10月27日
编译链接
摘要: 1.预编译 gcc -E hello.c -o hello.i g++ -E hello.cpp -o hello.ii + 将所有的#define宏展开 + 处理所有预编译指令,包括#if, #ifdef, #elif, #else, #endif + 处理#include指令,将所包含的文件插入
阅读全文
posted @ 2020-10-27 17:28 尘归风
阅读(107)
评论(0)
推荐(0)
2020年9月2日
ubuntu安装docker无法连网
摘要: 来源:https://www.cnblogs.com/tuzhenxian/p/11265973.html
阅读全文
posted @ 2020-09-02 19:45 尘归风
阅读(357)
评论(0)
推荐(0)
2020年8月7日
Xftp, Xshell无法连接ip
摘要: 0、执行 ps -e|grep ssh,若看到ssh-agent,sshd则表示未安装服务,或未启动服务 1.安装ssh sudo apt install openssh-server 2.启动服务 /etc/init.d/ssh start
阅读全文
posted @ 2020-08-07 10:44 尘归风
阅读(942)
评论(0)
推荐(0)
加密压缩
摘要: 1.安装rar,unrar包 sudo apt install rar, unrar 2.压缩文件并设置密码 rar -p a filename.rar origin_file 3. 解压,会提示输入密码 unrar x filename.rar
阅读全文
posted @ 2020-08-07 10:32 尘归风
阅读(190)
评论(0)
推荐(0)
2020年7月18日
vim设置tab
摘要: TAB替换为空格::set ts=4:set expandtab:%retab! 空格替换为TAB::set ts=4:set noexpandtab:%retab! 加!是用于处理非空白字符之后的TAB,即所有的TAB,若不加!,则只处理行首的TAB
阅读全文
posted @ 2020-07-18 10:16 尘归风
阅读(375)
评论(0)
推荐(0)
2020年4月12日
配置opencv-contrib
摘要: 下载对应版本的opencv-contrib CMake编译 如果有错误查看日志 打开日志文件,使用里面的地址从浏览器里面下载文件。 文件下载之后,放置在文件相应位置,并修改文件名。 进入Vs编译 关于OpenCV4.0.1+contrib配置时运行程序出现“无法定位程序入口点”问题的解决办法 解决方
阅读全文
posted @ 2020-04-12 22:43 尘归风
阅读(1456)
评论(0)
推荐(0)
2020年4月5日
Ubuntu 配置OpenCV C++
摘要: 如果需要卸载之前版本 make uninstall cd .. rm -rf build rm -rf /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr
阅读全文
posted @ 2020-04-05 22:56 尘归风
阅读(1997)
评论(0)
推荐(0)
2020年4月2日
OpenCV Example(鼠标操作)
摘要: 1 #include "opencv2/opencv.hpp" 2 3 #define WINDOW_NAME "[程序窗口]" 4 5 6 void on_MouseHandle(int event, int x, int y, int flags, void* param); 7 void Dr
阅读全文
posted @ 2020-04-02 15:26 尘归风
阅读(218)
评论(0)
推荐(0)
2020年3月26日
OpenCV Example
摘要: 读取图片 Example 2-1 1 #include "opencv2/opencv.hpp" 2 3 int main(void) { 4 cv::Mat img = cv::imread("wang.jpg"); 5 cv::namedWindow("Example 2-1", cv::WIN
阅读全文
posted @ 2020-03-26 23:25 尘归风
阅读(510)
评论(0)
推荐(0)
OpenCV Mat -The Basic Image Container
摘要: 1 #include "opencv2/core/core.hpp" 2 #include <iostream> 3 4 using namespace cv; 5 using namespace std; 6 7 int main(int argc, char** argv) { 8 Mat M(
阅读全文
posted @ 2020-03-26 19:15 尘归风
阅读(169)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
8
下一页
公告