OpenBLAS: Cimpile OpenBLAS 0.2.20 Failed under Windows 10 X64 with msys2

Hi, I try to use MSYS2 to compile OpenBLAS 0.2.20, with following flags, but it show me error ag begining

$ make QUIET_MAKE=1 TARGET=NEHALEM DYNAMIC_ARCH=1 HOSTCC=gcc NUM_THREADS=64 BINARY=64 CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-fortran
ln: failed to create symbolic link 'libopenblas.a': No such file or directory
make: [Makefile:138: libs] Error 1 (ignored)..

Does anyone know how to solve this issus?

thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26 (8 by maintainers)

Most upvoted comments

I have now modified the wiki page a bit:

Build OpenBLAS on Windows OS

Install the MinGW (GCC) compiler suite, either 32-bit (http://www.mingw.org/) or 64-bit (http://mingw-w64.sourceforge.net/). Be sure to install its gfortran package as well (unless you really want to build the BLAS part of OpenBLAS only) and check that gcc and gfortran are the same version - mixing compilers from different sources or release versions can lead to strange error messages in the linking stage. In addition, please install MSYS with MinGW.