返回信息流楼主在完成了VC2005下面的IT++平台以后,觉得VC2005平台太老了啊,不够炫,而且现在win7系统,用的多是VC2010,终于还是翻墙去国外网站找到了相应的安装流程,接下来,就是一大波英语(就不给大家翻译了),总的来说在VC2010下安装IT++库和在VC2005下面很相似,在安装IT++之前,你首先要安装好VC2010(我用的VC2010学习版,大家也可以用其他版):
Compiling IT++ with Visual Studio Express 2010
1. Download and unzip IT++ version 4.2.0(这个大家可以很好下载的,下面是地址http://sourceforge.net/projects/itpp/files/itpp/)
2.Building the IT++ libraries:
2.1 In the IT++ INSTALLATION directory (which should be \itpp-4.2) create the [color=#A52A2A][face=Times New Roman]lib subdirectory.
2.2 Copy the following files(blas_win32.lib,lapack_win32.lib,libfftw3-3.lib
打包在附件
附件(51.4KB) lib.zip) into this subdirectory:
2.3 Copy the following files(blas_win32.dll,lapack_win32.dll,libfftw3-3.dll
打包在附件
附件(2.5MB) dll.zip) into the \windows\system32 subdirectory for a 32 bits system or into \WINDOWS \SysWOW64 for a 64 bits system:
2.4 Double-click on itpp_mkl.sln located in c:\itpp-4.2\win32. This will start Visual Studio 2010 Express and launch the conversion wizard. Click on Finish and close the Conversion COMPLETE window.
By default, the project is in Debug mode which means that the generated library will contain debugging symbols. These symbols will allow the debugger to give helpful information during a debugging session.
2.5 Before launching the build process, modify the following project properties (Project/Properties menu):
2.6 Open and edit the header file config_msvc.h. Replace the 3 lines containing:
#if defined(HAVE_ACML) || defined(HAVE_MKL)
by:
#if defined(HAVE_ACML) || defined(HAVE_MKL) || defined(HAVE_FFTW3)
2.7 Save your changes and copy this file(点此下载
附件(17.9KB) fftw3.h) into \itpp-4.2\itpp. Edit the file \itpp-4.2\itpp\signal\transforms.cpp and modify line 48:
# include <itpp/fftw3.h>
2.8 Don't forget to save your changes !
You can now launch the build process (Debug/Build Solution menu or press F7) of the Debug library. Everything should work fine and you will find a 65Mb file called itpp_debug2010.lib in the lib subdirectory.
Perform the same steps for the release version of the library:
You can now launch the build process(Debug/Build Solution menu or press F7 key) of the Release version of the library. Everything should work fine and you will find a 23Mb file called itpp_rel2010.lib in the libsubdirectory. As you will see in the next chapter, this library contains much faster code than the Debug one.[/color]
[size=7]如果你出现编译错误,请看连载一,最后的解决办法[/face][/size]--
这是一条镜像帖。来源:北邮人论坛 / communications / #24719同步于 2014/8/1
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Communications机器人发帖
IT++ and VC2010(连载二)
buptch
2014/8/1镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。