jowr / librefprop.so

Create a shared library from the Fortran sources provided by Refprop from NIST. This project provides an alternative to the refprop.dll that comes with the software. Please use the official instructions if possible

Home Page:https://github.com/usnistgov/REFPROP-cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build still fails on OSX

ibell opened this issue · comments

When I try to build I get lots of warnings along the lines of

Warning: Obsolescent feature: Old-style character length at (1)
COMMONS.for:361.17:
    Included at src/PASS_FTN_ALT.for:1344:

      character*3 hagasv                                                
                 1

and then it fails with

make: *** No rule to make target `fortran/SETUP.o', needed by `bin/librefprop.dylib'.  Stop.

Interesting. I cleaned the directories and rebuilt the library without any issues.
Looks like I have to double check the changes made from v9.0 to v9.1.
As a quick and dirty fix, you can try to copy all the sources from 9.0 and add the files from 9.1 afterwards. I have the feeling that setup.for is missing in your case.

Jorrit Wronski
DTU Mechanical Engineering

Technical University of Denmark
Department of Mechanical Engineering
Nils Koppels Allé
Building 403 Room 111
2800 Kgs. Lyngby
Denmark

phone: +45 45 25 41 83
fax: +45 45 88 43 25
email: jowr@mek.dtu.dk
http://www.tes.mek.dtu.dk/English

Ian Bell notifications@github.com wrote:

When I try to build I get lots of warnings along the lines of

Warning: Obsolescent feature: Old-style character length at (1)
COMMONS.for:361.17:
Included at src/PASS_FTN_ALT.for:1344:

  character*3 hagasv
             1

and then it fails with

make: *** No rule to make target fortran/SETUP.o', needed bybin/librefprop.dylib'. Stop.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4.

Ugh somehow when I copied the files, setup.for got lost in the shuffle.
Hence the error message. I should have put 2 and 2 together to get 4, but
it was late at night and my brain wasn't fully on. Seems to work now,
thanks

On Fri, Jan 10, 2014 at 8:18 AM, Jorrit Wronski notifications@github.comwrote:

Interesting. I cleaned the directories and rebuilt the library without any
issues.
Looks like I have to double check the changes made from v9.0 to v9.1.
As a quick and dirty fix, you can try to copy all the sources from 9.0 and
add the files from 9.1 afterwards. I have the feeling that setup.for is
missing in your case.

Jorrit Wronski
DTU Mechanical Engineering

Technical University of Denmark
Department of Mechanical Engineering
Nils Koppels Allé
Building 403 Room 111
2800 Kgs. Lyngby
Denmark

phone: +45 45 25 41 83
fax: +45 45 88 43 25
email: jowr@mek.dtu.dk
http://www.tes.mek.dtu.dk/English

Ian Bell notifications@github.com wrote:

When I try to build I get lots of warnings along the lines of

Warning: Obsolescent feature: Old-style character length at (1)
COMMONS.for:361.17:
Included at src/PASS_FTN_ALT.for:1344:

character*3 hagasv
1

and then it fails with

make: *** No rule to make target fortran/SETUP.o', needed by bin/librefprop.dylib'. Stop.


Reply to this email directly or view it on GitHub<
https://github.com/jowr/librefprop.so/issues/4>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-32007575
.