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 fails on OSX

ibell opened this issue · comments

Tried to build on OSX. Checked out sources, installed gfortran from HPC, copied 9.1 sources, but build fails (see below). Any ideas what is up? Got an email from a guy who wants to use REFPROP on OSX

Ians-Mac-mini:librefprop Ian$ make
mkdir -p  ./bin
cp  src/refprop_lib.h bin/refprop_lib.h
mkdir -p  ./bin
cp  src/refprop_constants.h bin/refprop_constants.h
mkdir -p  ./bin
cp  src/refprop_names.h bin/refprop_names.h
mkdir -p  ./bin
cp  src/refprop_types_c.h bin/refprop_types_c.h
mkdir -p  ./bin
cp  src/refprop_types_cpp.h bin/refprop_types_cpp.h
mkdir -p  ./bin
cp  src/refprop_types.h bin/refprop_types.h
sed 's/dll_export/!dll_export/g' ./fortran/PASS_FTN.FOR > ./src/PASS_FTN_ALT.for
cat ./src/PASS_FTN_ALT.FOR.tpl >> ./src/PASS_FTN_ALT.for
sed -i "s/'commons.for'/'COMMONS.for'/" ./src/PASS_FTN_ALT.for
sed: 1: "./src/PASS_FTN_ALT.for": invalid command code .
make: *** [src/PASS_FTN_ALT.for] Error 1

typo in the Makefile, thanks for pointing it out

Cool I'll check this evening when I get home

On Thu, Jan 9, 2014 at 10:25 AM, Jorrit Wronski notifications@github.comwrote:

Closed #3 #3.


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