![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
uiop_uiop_uiop
这个作者很懒,什么都没留下…
展开
-
windows下 编译CUDA版的opencv
前言:项目需要用到opencv中dnn模块,默认下载的opencv不带cuda,因此需要对opencv重新编译 1.检查cuda版本 cmd:nvcc -V 2.自行下载opencv源文件(若是opencv官网下载,则源文件在source文件夹内) 和对应版本的opencv_contrib(https://github.com/opencv/opencv_contrib/releases ) 3.下载cmake: https://cmake.org/download/ 4.打开bin目录下cmak转载 2021-07-16 23:21:10 · 416 阅读 · 0 评论 -
error LNK2001: 无法解析的外部符号 “private: static int Student::total_count“ (?total_count@Student@@0HA)
链接的时候出现了问题。这个是因为静态变量没有初始化。 出现该问题的程序如下: #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> #include <vector> #include <fstream> #include <set> #include <map> #include <algorithm> using namesp.原创 2020-11-24 18:01:55 · 1150 阅读 · 0 评论