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