This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to LAPACKE_***

Hi Zekios,

On Sat, Nov 18, 2017 at 7:20 PM, Constantinos Zekios  wrote:
> Hi Csaba,
>  so I am using a cmake and it is of the format:
> set(LAPACK_LIB "/usr/lib/")
> set(LAPACK_LIB "/usr/lib/")
> set(BLAS_LIB "/usr/lib/") for my ubuntu system,
> which I changed it to:
> set(LAPACK_LIB "/usr/lib/liblapack.a")
> set(BLAS_LIB "/usr/lib/libblas.a") for the cygwin.
> If I set the set(LAPACK_LIB "/usr/lib/liblapacke.a") it complains that it
> doesn't exist, since as you also said this package doesn't exist in Cygwin.
> So in my code I am calling at some point functions like the LAPACKE_zlange
> and there is the issue. I guess I cannot use them in Cygwin, and I will have
> to change it to FORTRAN calls

Please don't top-post on this mailing list. ( )

I was asking for the linker command line, not the content of the cmake files.
You can get this by running

make VERBOSE=1


ninja -v

depending on the generator you chose.

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]