Linking with LAPACK library under OS 10.14.3 and Xcode 9.0

by user1362373   Last Updated March 14, 2019 19:12 PM

I'm trying to compile a simple Fortran code (with gfortran 8.2.2) in which I access some LAPACK routines on OS 10.14.3. Unfortunately, I can no longer link with the Accelerate framework (which used to work fine for a long time). For example,

gfortran -framework Accelerate abc.o def.o -o mycode

now leads to

ld: framework not found Accelerate

I'm using Xcode 9.0 and I installed the developer tools.

It's been a while since I've compiled that code and I've updated the OS, Xcode, and gfortran since then so I cannot trace the problems to a single change. Any ideas?

Tags : macos xcode


Related Questions




Xcode doesn't start

Updated May 25, 2017 10:12 AM

How to increment the font size of the Xcode UI?

Updated June 06, 2017 23:12 PM

XCode keeps hanging and I have to force quit

Updated December 25, 2018 16:12 PM