OpenMathLib / OpenBLAS

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
http://www.openblas.net
BSD 3-Clause "New" or "Revised" License
6.28k stars 1.49k forks source link

Cannot be used in Windows Visual Studio 2022 #4889

Open liushang0322 opened 1 week ago

liushang0322 commented 1 week ago

I am trying to use lapacke functionality in my code and found a problem with the function definition. How can I use openblas in windows visualstudio2022

image

there are so many error

martin-frbg commented 1 week ago

Are these the first error messages ? It looks like you are missing one of the standard C headers (stddef.h) that defines the size_t type. If you can fix that, maybe (most of) the other errors will go away too. Possibly you need to install (or update) the appropriate Windows SDK