📄 readme.w32
字号:
1. Using Lapack++=================1.1. Needed Components----------------------You need DLLs of BLAS and Lapack.The contrib folder contains a patch against the latest lapack.tgz packagewhich allows creating DLLs from the original source package.Alternatively, use the self-installing setup.exe file of lapackpp;this will include a DLL for blas and for lapack.2. Compiling Lapack++=====================This section is only for compiling lapackpp yourself; if youinstalled the self-installing setup.exe file, you don't need toconsider this section.This section is for compiling with the gcc compiler. If you wantto use the Microsoft Visual C++ compiler instead, use the providedproject file lapackpp.vcproj. For installation copy the resultingDebug/lapackpp.lib into whatever location you considerappropriate.2.1. Needed Components----------------------2.1.1. MinGW32MinGW32 is a project with the goal to provide a free compiler system and anearly complete shell environment which allows to execute the configure script. The resulting DLLs and EXEs only link against Windows libraries, sothere are no licence issues when releasing binary packages.The compiler itself is the very well known GCC.MinGW creates an environment just like under Linux (with quite the samefile hierarchie, including a home directory).Paths including hard drive identifiers are used like this:c:\SOMEPATH -> /c/SOMEPATHd:\SOMEPATH -> /d/SOMEPATHand so on.The root directory of MinGW is a a subdirectory of the one you installedmingw to, in most cases "c:\msys\1.0". So "/" from inside the shell actually refers to that directory.You can get MinGW from http://www.mingw.org/Install instructions:- download and install MSYS 1.0.9 (there is an executable, which wants to install itself to "c:/msys". This is a good choice, so from here on I assume you have choosen this path, too)- download and install MinGW-3.1.0-1.exe (when asked for the install path please make sure you use "c:/msys/1.0/mingw" !!)- download and install msysDTK-1.0.1.exe (it finds its install path by itself)There are many more packages on their download site, but you don't need them, since most of them are already included in the packages we just installed.2.1.2. BLAS, Lapack-------------------You only need the DLLs of BLAS and Lapack.The contrib folder contains a patch against the latest lapack.tgz packagewhich allows creating DLLs from the original source package.Download lapack.tgz from http://www.netlib.org/lapack/.2.2. Compiling==============Just type ./configure YOUR_OPTIONS make This will create the DLL needed by other projects. It will be copiedto your Windows system folder when you type "make install".Some common options for ./configure concern the library name of blasand lapack, and also additional library search paths in LDFLAGS ifyour MinGW installation is in a non-standard path. E.g.: ./configure --disable-atlas --with-blas=blas32 --with-lapack=lapack32 \ LDFLAGS="-L/mingw/lib -L/c/WINNT/system32" 2.3 Installation================Type make installto have the header files copied to the chosen prefix (default/usr/local) and to have the DLL liblapackpp32.dll copied into yourWindows system folder.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -