Giter VIP home page Giter VIP logo

Comments (4)

MarkWieczorek avatar MarkWieczorek commented on June 24, 2024

#459

from shtools.

banlidawang avatar banlidawang commented on June 24, 2024

I think the problem is the gfortran compiler.
After upgrade macOS to 14.4.1, I have try to reinstall gfortran from .pkg, reinstall Xcode, but even the simplest hello word fortran program can not be compiled success:

-macosx_version_min has been renamed to -macos_version_min
ld: warning: ignoring duplicate libraries: '-lemutls_w', '-lgcc'
ld: library 'System' not found
collect2: error: ld returned 1 exit status

from shtools.

MarkWieczorek avatar MarkWieczorek commented on June 24, 2024

Did you install a gfortran compiler, as described in the above linked issue? MacOS and Xcode does not come with gfortran. The easiest way to install this is with brew

brew install gcc

from shtools.

banlidawang avatar banlidawang commented on June 24, 2024

I have try to install gcc through brew, and its tells that gcc 13.2.0 is already installed and up-to-date.
but when I check the version its seems that the old MacPorts version is used
gcc --version
gcc (MacPorts gcc12 12.1.0_6+stdlib_flag) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.``

from shtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.