Open ManojLII opened 1 year ago
Do you have a FORTRAN compiler installed? What operating system?
Windows OS. I installed MSYS2 and installed gfortran package
On windows, I think the only viable option is Intel Fortran (which is free). Mingw maybe also possible, there are instructions for that. I have only had failure with MSYS2. On windows, recommend to use linux via docker.
Installed Intel Fortan and the issue got resolved but facing different issue now
CMake Error at CMakeLists.txt:284 (add_library): No SOURCES given to target: REFPRP64
Sounds like your command line call is wrong. Please show what command you ran.
This the command I was using
git clone https://github.com/usnistgov/REFPROP-cmake --recursive cd REFPROP-cmake mkdir bld cd bld cmake .. -DREFPROP_FORTRAN_PATH="/Users/yyy/Desktop/manage/BETA/FORTRAN" -DREFPROP_DYNAMIC_RUNTIME=ON cmake --build . --config Release cd ../..
Sounds like the path you provided is incorrect, double-check your path contains the .FOR files
I am trying to clone and build dynamic refprop dll build and facing issue in mapping fortran compiler. Can you please provide an example how to fix this issue?
-- The Fortran compiler identification is unknown CMake Error at CMakeLists.txt:3 (enable_language): No CMAKE_Fortran_COMPILER could be found.