MinGW lapack installed on Windows

Source: Internet
Author: User
Tags lapack

MINGW Basic Configuration Environment

Compiling the installation

Scenario One: MinGW makefiles

My configuration is not Mingw32-make.exe after the MinGW folder, using mingw-get install mingw32-make command installation is not effective, only to download the official website https:// sourceforge.net/projects/mingw/files/mingw/extension/make/make-3.82.90-cvs/ The make-3.82.90-2-mingw32-cvs-20120902-bin.tar.lzma/download is then placed in the/mingw/mingw/bin, adding this path to path

After configuring it directly under the Build folder, run the Cmd.exe shell, Mingw32-make-j5, and then run the Mingw32-make install file to C:/Program Files (x86)/lapack, Tick Build_shared_libs

Scenario Two: MSYS makefiles

Step above, but confige time to choose Msys Makefile, is to use Msys Make.exe and Sh.exe as Shell compiler installation

Once configured, you can create a C application in Visual Studio and link to mingw-built LAPACK DLLs while using LAPACK in Visual Studio because it is a link mingw-built LAPACK DLLS therefore requires the GNU runtime DLLS to run the dynamic library Libgfortran-3.dll and Libgcc_s_dw2-1.dll, but if you have added the GNU Runtime folder to path, you do not need to set up the previous step.

Mentioned above

Static Library generation: LIBBLAS.A liblapack.a and LIBTMGLIB.A

Dynamic library Generation: Libblas.dll.a LIBLAPACK.DLL.A and Libtmglib.dll.a and Runtime:libblas.dll,liblapack.dll and Libtmglib.dll

MinGW lapack installed on Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.