VS2012
文章平均质量分 54
JOE_FANNIE
still on my way~
展开
-
在windows下配置caffe
安装环境:Win7 64bitVS2012安装步骤:1. 下载cuda6.5windows版本:https://developer.nvidia.com/cuda-toolkit-65?sid=766313,安装cuda6.52. 下载caffe源码:https://github.com/niuzhiheng/caffe,下载dependency:https原创 2015-03-25 20:59:31 · 900 阅读 · 4 评论 -
传递引用变量到thread的方法
为了加速运行一个c++程序,我们常常会用到multiple thread编程。比如下面是一个例子:#include #include void message(std::string& msg){std::coutmsg = "Hello World!";}int main(){std::string msg = "Love the World!";原创 2015-12-27 16:05:15 · 821 阅读 · 0 评论 -
compile opencv2.4.11 with gpu support
preparation:Win7 64-bit + CUDA7.5 + OpenCV2.4.11 + CMake + tbbStep 1:Build OpenCV by CMake(1) browse src dir and build dir. click "Advance". press Configure. Choose "Visual Studio 11 2012原创 2015-12-24 15:45:25 · 4360 阅读 · 0 评论 -
getCudaEnabledDeviceCount()返回0
我在win7 64bit的VS2012 release 64bit遇到过此问题遇到这个问题有两种可能:1.你没有使用cuda编译opencv,opencv在2.4.4版本之后就没有自带gpu编译的版本了。如何编译我的上一篇文章有介绍。戳这里 here2.编译之后,按照配置opencv的方法添加了环境变量、包含目录和库目录之后,仍然返回0。此时有可能是你之前安装过opencv且添加了原创 2015-12-25 17:15:40 · 7794 阅读 · 4 评论