You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling I get the following error on windows using the Visual Studio compilers.
CalculateMeanInnerProducts.cpp.obj : error LNK2019: unresolved external symbol cblas_sgemm referenced in function "protected: void __cdecl CalculateMeanInnerProducts::computeMeanInnerProduct(void)" (?computeMeanInnerProduct@CalculateMeanInnerProducts@@IEAAXXZ)
the code I am using looks like this:
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
msize,// M: Number of rows in matrices A and C.
nsize, // N: Number of columns in matrices B and C.
K, // K: Number of columns in matrix A; number of rows in matrix B.
1.0f, // Scaling factor for the product of matrices A and B.
A+i*lda,
lda, //The size of the first dimention of matrix A; if you are passing a matrix A[m][n], the value should be m.
B+j*ldb,
ldb, //The size of the first dimention of matrix B; if you are passing a matrix B[m][n], the value should be m.
0.f, // Scaling factor for matrix C.
C,
nsize //LDC: The size of the first dimension of matrix C; if you are passing a matrix C[m][n], the value should be m.
);
This same code compiles on OS X against the Accelerate Framework and on Linux against LAPACK/CBLAS, I am just looking for something that is open-source and works on Windows. We would like to use it in the http://github.com/dream3d/dream3d.git project.
Thanks for any help
MJackson
The text was updated successfully, but these errors were encountered:
I am using the prebuilt binaries that I downloaded from your website. I use CMake to find and link against OpenBLAS. The OpenBLAS library seems to be in the list of libraries to link against when I look at the command that gets executed to link. I have made sure that I am trying to link against the .lib files and not the actual DLL itself. (I know this from experience). Sort of weird as I have used earlier versions of OpenBLAS a few years ago and got things to work, but with a different project.
When compiling I get the following error on windows using the Visual Studio compilers.
CalculateMeanInnerProducts.cpp.obj : error LNK2019: unresolved external symbol cblas_sgemm referenced in function "protected: void __cdecl CalculateMeanInnerProducts::computeMeanInnerProduct(void)" (?computeMeanInnerProduct@CalculateMeanInnerProducts@@IEAAXXZ)
the code I am using looks like this:
This same code compiles on OS X against the Accelerate Framework and on Linux against LAPACK/CBLAS, I am just looking for something that is open-source and works on Windows. We would like to use it in the http://github.com/dream3d/dream3d.git project.
Thanks for any help
MJackson
The text was updated successfully, but these errors were encountered: