Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Can't build with ifort19

仁义_许_
Beginner
167 Views

macosx10.14
xcode 9.4

/ifort-19_0_0_117:: error #10401: error running 'xcrun -find clang'
==============================
in the command line:
source <install_dir>/bin/compilervars.sh intel64

manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

ifort **.f90
ifort: error #10401: error running 'xcrun -find ld'

 

 

0 Kudos
2 Replies
Juergen_R_R
Valued Contributor I
167 Views

You most likely have to upgrade to Xcode 10 and upgrade the command-line tools. If that doesn't help, try to execute open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

This is because the system headers are no longer installed as default in Mojave (macOS 10.14)

 

仁义_许_
Beginner
167 Views

ifort2019 does not support xcode10


I setup the command line tools for Xcode9 and then build it successfully

Thx!

 

Reply