Hey, i am new to fortran on MAC.
I just installed Xcode, fortran via GitHub, and when I want to build my program ( gfortran Helloworld.f95), it says :
clang: error: invalid version number in '-mmacosx-version-min=11.5'
I saw on the blog kind of a solution and typed :
sudo xcode-select --switch /Library/Developer/CommandLineTools
Now it says another error when I want to build :
ld: library not found for -lSystem
collect2: erreur: ld a retourné le statut de sortie 1
(in french sorry)
I don't know how to solve this error, any advices ? I can't train on my computer that's so annoying
Thank you in advance !
On Tuesday, September 14, 2021 at 10:26:54 PM UTC+2, paul wrote:
Hey, i am new to fortran on MAC.
I just installed Xcode, fortran via GitHub, and when I want to build my program ( gfortran Helloworld.f95), it says :
clang: error: invalid version number in '-mmacosx-version-min=11.5'
I saw on the blog kind of a solution and typed :
sudo xcode-select --switch /Library/Developer/CommandLineTools
Now it says another error when I want to build :
ld: library not found for -lSystem
collect2: erreur: ld a retourné le statut de sortie 1
(in french sorry)
I don't know how to solve this error, any advices ? I can't train on my computer that's so annoying
Thank you in advance !
I have seen messages about this before, perhaps a search in this newsgroup will help. As I do not use MacOSX, I cannot help with more concrete advice.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 153:38:07 |
Calls: | 2,504 |
Calls today: | 1 |
Files: | 8,703 |
Messages: | 1,929,467 |