Cont. OpenPose Caffe OpenCV QT 经验总结

7 篇文章 1 订阅
4 篇文章 1 订阅

CONT.

download resource from github

克隆含有子模块的项目

当我们直接git clone的时候,会显示子模块的目录,但是文件目录是空的,
必须运行两个命令:

  • git submodule init

用来初始化本地配置文件,

  • git submodule update

则从该项目中抓取所有数据并检出父项目中列出的合适的提交

initialize the git environment

git init
git submodule init
git submodule update

更简单一点的方式。

如果给 git clone 命令传递 --recurse-submodules 选项,它就会自动初始化更新仓库中的每一个子模块, 包括可能存在的嵌套子模块。

git clone --recurse-submodules

DBoost_DEBUG

set option as on

cmake -DBoost_DEBUG=ON .

A series of parameters or options

set them all on

cmake 
-DWITH_TBB=ON 
-DWITH_QT=ON 
-DWITH_OPENGL=ON 
-DWITH_CUDA=OFF 
-DCMAKE_BUILD_TYPE=Release ..

nproc

nproc 多线程同时编译
(Multiple threads compile at the same time)

Through the command nproc to detect how many threads we have firstly

Then set the thread number (can set as an exact number)

nproc
make -j`nproc`

QT Path

Warning
在这里插入图片描述

Call Stack (Error)
在这里插入图片描述
QT 路径需要提供

Add the QT’s path in 0penCVFindLibsGUI.cmake

The red area is the path of QT.

在这里插入图片描述

可执行格式

chmod 777

chmod 777 PATH

OpenCV Summary

在这里插入图片描述

Caffe Summary

在这里插入图片描述

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Cmy_CTO

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值