Skip to content

The Fortran compiler is not able to compile a simple test program. #84

@danielkwalsh

Description

@danielkwalsh

Hi, I'm having trouble with building REFPROP on a 2.9 GHz 6-Core Intel Core i9 Mac. I've followed the directions in the readme, but when running cmake .. -DCMAKE_BUILD_TYPE=Release, I get the following error:
`CMake Error at /usr/local/Cellar/cmake/3.22.2/share/cmake/Modules/CMakeTestFortranCompiler.cmake:61 (message):
The Fortran compiler

"/usr/local/bin/gfortran"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /Users/danielkwalsh/Work/REFPROP-cmake/build/CMakeFiles/CMakeTmp`

I read the section on OSX notes in the readme, and since I don't have an M1, I skipped that portion. I've tried looking around the internet at possible solutions to this, and read that I should instead run this:
cmake .. -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3
But this also fails with what appears to be the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions