Why doesn't such a file or directory, <cblas.h>, exist?
14,054
You need to add a -I directory
option where directory
is the place where the cblas.h
file is located on your system.
This gives:
gcc -o BLAS -I directory_of_cblas_header BLAS.c
Author by
Hugs
Updated on June 06, 2022Comments
-
Hugs almost 2 years
I am doing some matrix multiplication in C and I am trying to compile my progam however it fails to compile for the reason:
No such file or directory cblas.h
This is the command I am using to compile:
gcc -o BLAS BLAS.c
Can anybody please help me? I am compiling this program on a server. I'm not sure if this makes a difference.