usnistgov/REFPROP-cmake

Windows toolchain required

EduBic opened this issue · 1 comments

Hello

Is it possibile to use this repository for compiling Refprop 64bit for Windows?
What are the dependencies?
Which toolchain I have to install? Visual Studio 2019 doesn't contain a gfortran compiler.

I get this error:

PS C:\Users\WDAGUtilityAccount\Desktop\sandbox\REFPROP-cmake\build> cmake .. -DCMAKE_BUILD_TYPE=Release
-- Building for: Visual Studio 16 2019
-- The C compiler identification is MSVC 19.29.30147.0
-- The CXX compiler identification is MSVC 19.29.30147.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is unknown
CMake Error at CMakeLists.txt:3 (enable_language):
  No CMAKE_Fortran_COMPILER could be found.

-- Configuring incomplete, errors occurred!
See also "C:/Users/WDAGUtilityAccount/Desktop/sandbox/REFPROP-cmake/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/WDAGUtilityAccount/Desktop/sandbox/REFPROP-cmake/build/CMakeFiles/CMakeError.log".

Thanks

Nevermind, I saw the README section "Instructions for MINGW builds on windows".