usnistgov / REFPROP-wrappers

Wrappers around NIST REFPROP for languages such as Python, MATLAB, etc.
193 stars 127 forks source link

REFPRP64.dll - Linux web app deployment issue #544

Closed baraskarnitin10 closed 6 months ago

baraskarnitin10 commented 1 year ago

Ian Bell, When I am putting REFPRP64.dll on an Azure web app Linux based.

System.DllNotFoundException: Unable to load shared library 'Data\REFPROP10\REFPRP64.dll' or one of its dependencies.

As a c# wrapper file [DllImport(@"Data\REFPROP10\REFPRP64.dll", CharSet = CharSet.Ansi)] Dot Net Core application.

REFPRP64.dll can be platform independent? Bcos we want to use REFPRP64.dll as a reference.

ianhbell commented 1 year ago

The DLL is DEFINITELY not platform independent. You must recompile for any non-windows platforms. Recommend to use: https://github.com/usnistgov/REFPROP-cmake

baraskarnitin10 commented 1 year ago

Sure, I will try. Thanks