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: | 159 |
Nodes: | 16 (0 / 16) |
Uptime: | 99:51:22 |
Calls: | 3,209 |
Files: | 10,563 |
Messages: | 3,009,979 |