I am trying to generate magma.lib ,magma_sparse.lib and tester.lib by building magma with Visual Studio 2019 on Windows 10 but I am getting hundreds of link errors.
I have downloaded magma 2.5.4 and I have followed the instructions in README-Windows, where it says that after building the project in Visual Studio one should find the MAGMA library and testers in build\lib\Debug\ and build\testing\Debug\ assuming a build folder was created to contain the generated project.
I have generated the project using CMake (v3.19.4), platform x64 using visual studio 16 2019 as a generator. I get the warnings saying that -std=c++11 flag and -std=c++99 flag is not supported by cl.exe, but, the project is still generated.
After the project has been generated, I have tried to build MAGMA.sln on Visual Studio, but I got this kind of link error :
Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'lib\Debug\magma_sparse.lib' testing_cio C:\Users\cdelf\Documents\magma-2.5.4\build\LINK 1
So I don't quite understand how am I suppose to generate lib files which the projects depend upon in order to be built. What am I doing wrong here?