GpuCv windows下的安装

计算机:Thinkpad T61

操作系统:windowsXP

使用vs2005 Team suite

下载gpucv from http://www-public.intedu.eu/~allusse/gpucv/release//0.4/0.4.1.rev.175/GPUCV_v0.4.1_rev175_bin_win32.exe

下载svn from http://subversion.tigris.org/files/documents/15/35379/svn-1.4.2-setup.exesugoitools,也可使用别的方法直接下载。)

 下载glew from http://jaist.dl.sourceforge.net/sourceforge/glew/glew-1.5.0-win32.zip

下载glut from http://www.opengl.org/resources/libraries/glut/glut37.zip

下载premake from http://nchc.dl.sourceforge.net/sourceforge/premake/premake-win32-3.6.zip

下载dirent.h和dirent.lib from http://softagalleria.net/download/dirent/dirent-1.8.zip and http://opensvn.csie.org/Pnuts/1.2/launcher/win32/dirent/lib/dirent.lib

 把dirent.h 和dirent.lib拷贝到vs2005的include和lib中使用svn获得SugoiTools(在命令行里)

svn co https://sugoitools.svn.sourceforge.net/svnroot/sugoitools sugoitools

运行sugoitools中的CreateSugoiProjects.bat和make.VS2005.bat

 可获得lib文件夹现在开始添加lib和include...N多...

首先是gpucv的 <gpucvInstallPath>/lib <gpucvInstallPath>/include

注意:删除<gpucvInstallPath>/bin下的有关opencv,opengl,SugoiTools的dll文件,容易和系统中的这些文件混淆,没有安装并且不需要用opencv的话就不用管了,其余两个只是project中所要用到的。

把glew和glut中的include和lib <Microsoft Visual Studio 8 InstallPath>/VC/PlatformSDK/include和 <Microsoft Visual Studio 8 InstallPath>/VC/PlatformSDK/lib

添加sugoitools的include和lib <Sugoitools InstallPath>/include <Sugoitools InstallPath>/lib/vs2005

并将gpucv,sugoitools的bin目录加到系统的path下面(opencv,opengl的我已经加入,若是没有加如的话请自行添加)(需重启)

安装过程完毕。

测试:打开<gpucvInstallPath>/projects/vs2005中的gpuCV-vs2005.sln

更改以下三句:  SG_Assert(GpuImageManager()->Remove(src1), "Could not find corresponding matrix");  SG_Assert(GpuImageManager()->Remove(src2), "Could not find corresponding matrix");  if(src3)   SG_Assert(GpuImageManager()->Remove(src3), "Could not find corresponding matrix");  为  SG_Assert(GpuImageManager()->Delete(src1), "Could not find corresponding matrix");  SG_Assert(GpuImageManager()->Delete(src2), "Could not find corresponding matrix");  if(src3)   SG_Assert(GpuImageManager()->Delete(src3), "Could not find corresponding matrix");

使用批编译,成功后将得到

GPUCVConsoled.exe

GPUCVCamDemo.exe

GPUCVCamDemod.exe

GPUCVConsole.exe 和

gpucv的dlls,libs.

OK 运行(CamDemo需摄像头),看见画面即OK vs6的安装方法类似。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值