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
https://github.com/usnistgov/REFPROP-cmake
33 stars 8 forks source link

Build fails on OSX #3

Closed ibell closed 10 years ago

ibell commented 10 years ago

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
jowr commented 10 years ago

typo in the Makefile, thanks for pointing it out

ibell commented 10 years ago

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 https://github.com/jowr/librefprop.so/issues/3.

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