Giter Site home page Giter Site logo

ref prop 2310 compile error about librefprop.so HOT 5 CLOSED

jowr avatar jowr commented on July 17, 2024
ref prop 2310 compile error

from librefprop.so.

Comments (5)

ianhbell avatar ianhbell commented on July 17, 2024

Can you use : https://github.com/usnistgov/REFPROP-cmake ? That's the recommendation nowadays for REFPROP 10, works reliably for most users.

from librefprop.so.

jeffkenvin avatar jeffkenvin commented on July 17, 2024

It fails with the following output:

Jeffreys-MacBook-Pro:build jeffreykenvin$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- DEFSYM_FLAG:
-- darwin
Traceback (most recent call last):
File "/Users/jeffreykenvin/REFPROP_cmake/generate_aliases.py", line 129, in
tokens = tokenize(header_path, FORTRAN_path)
File "/Users/jeffreykenvin/REFPROP_cmake/generate_aliases.py", line 28, in tokenize
with open(path_to_REFPROP_lib_h, 'r') as fp:
IOError: [Errno 2] No such file or directory: '/Users/jeffreykenvin/REFPROP_cmake/externals/REFPROP-headers/REFPROP_lib.h'

CMake Error at CMakeLists.txt:148 (file):
file failed to open for reading (No such file or directory):

/Users/jeffreykenvin/REFPROP_cmake/build/aliases_string.txt

-- Path to libquadmath.a:/usr/local/Cellar/gcc/8.3.0/lib/gcc/8/gcc/x86_64-apple-darwin18.2.0/8.3.0/../../../libquadmath.a
-- Copied libquadmath.a here.
-- Configuring incomplete, errors occurred!
See also "/Users/jeffreykenvin/REFPROP_cmake/build/CMakeFiles/CMakeOutput.log".

from librefprop.so.

ianhbell avatar ianhbell commented on July 17, 2024

You needed to do a recursive clone, should be fine if you fix that.

from librefprop.so.

jeffkenvin avatar jeffkenvin commented on July 17, 2024

Thank-you the recursive clone worked well and I missed that instruction in the readme.

I also discovered the upgrade to v10 left old versions (v8) of the fortran files and this caused some compile errors. Once I removed the old versions it compiled without any problems.

from librefprop.so.

jowr avatar jowr commented on July 17, 2024

Hi, happy to hear that everything works now. I guess I can retire this repository to avoid confusion in the future...

from librefprop.so.

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.