原创 xshell + xming + opencv 服務器圖片顯示

本地 系統:Windows10 軟件:Xshell + Xming 服務器 系統: Centos 7 依賴: opencv-3.4.5 代碼: #include <opencv2/opencv.hpp> #include <s

原创 cmake 編譯 Qt項目+消除控制檯

讓我引一下流 0.0 Here

原创 windows 下使用openssl問題記錄

環境:Windows10 工具:vs2015 + cmake3.1 依賴:openssl-1.1.0 問題1(x509與Windows衝突) 現象描述: 圖一: 這是報錯的地方,該文件爲 openssl/x50

原创 cmake 獲取git版本信息並傳入源碼輸出

Show code first: CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(test) set(SRCS main.cpp) # 執行git命令,並把結

原创 Windows 下使用makefile

寫了一個簡單的demo,測試使用: // main.cpp #include <iostream> using namespace std; int main() { cout << "Hello world" << endl;

原创 Windows 軟件使用記錄

Clover: http://cn.ejie.me/ TranslucentTB: https://github.com/TranslucentTB/TranslucentTB/releases/tag/2018.2 獵豹輕桌面

原创 Google 插件記錄

記錄一下自己正在使用的Google 的插件 1. Adblock Plus 用於攔截廣告,提高網頁閱讀體驗。 2. OneTab Plus 標籤管理工具,可以把一組相同類內容的標籤合併爲組並保存。 在使用過程中發現好像沒有辦法

原创 cmake 判斷編譯生成32位還是64位

IF(CMAKE_CL_64) set(platform x64) ELSE(CMAKE_CL_64) set(platform x86) ENDIF(CMAKE_CL_64) windows 平臺使用 msvc

原创 undefined reference to `cv::imwrite` || undefined reference to `cv::imread` 解決

現象 接手代碼,cmake .. && make -j123,一氣呵成,然後報錯如下: 說實在的,這種問題,沒有一百也有八十了,找不到庫嘛,氣定神閒的打開CMakeLists.txt, target_link_libraries(

原创 notepad++ 瞎搞

Created with Raphaël 2.2.0自從不知道從哪裏看到了markdown這個鬼東西我就有點被鬼迷心竅了這個鬼吧,格式好看語法還特麼的不復雜寫個博客什麼的看着也賞心悅目想起來很喜歡的一部小說提到的:技術活,當賞不過啊,

原创 openssl aes api 記錄

DemoCode1: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <openssl/evp.h> #i

原创 centos mount掛載文件,有壞超級塊(解決方案)

問題如下 解決方案: sudo yum search cifs 沒有安裝cifs-utils。 sudo yum install cifs-utils Then… ojbk.

原创 Windows git 設置編輯器

git config --global core.editor "D:/notepad++/notepad++.exe"

原创 軟考地址記錄

全國計算機技術與軟件專業技術資格(水平)考試網上報名平臺 http://bm.ruankao.org.cn/

原创 常見的開源協議分析

該圖取自:瞭解常見的開源協議(BSD, GPL, LGPL,MIT),這篇文章寫的很棒。