usnistgov/REFPROP-cmake

Installing Refprop on Mac M1 (OSX with Office 365)

Vincen-Jo opened this issue · 13 comments

Hi,

I visited this place again after a long time, and it seems that all of you who are capable here have found a way to work on the M1 MacBook.
So I tried it again. The installation environment is as follows:
Anaconda 64-Bit(M1) Graphical Installer has been installed and brew gfortran has been installed.
However, the following error occurred:
2022-12-04 16 02 45

When I enter cmake --build . and run it, the following error occurs.

2022-12-06 14 53 28

Sounds like you are building for two different architectures. Let me see how I got this working on my M1.

Can you comment out these lines in CMakeLists.txt and try again:

image

The results are as follows.
Did it go well?

2022-12-06 23 11 06

Yes, looks good. I guess I will have to add some more flags to deal with M1 building, as I suspect this will continue to be a problem.

Thank you very much.
I will do the next step myself.

You're welcome

I added the REFPROP.XLA file to add-in, but following error occurs.

2022-12-07 00 10 34

2022-12-07 00 10 56

2022-12-07 00 11 52

Was that error message returned by the Add-in? I haven't seen that before.

No error message occurred when adding to Add-in.
I succeeded at once on Windows, but it is hard to try on MacOS. ^_^

Yes, getting this working on Mac is much trickier, I don't have any other ideas to try. Personally I don't use Excel and use other tools instead.

Okay.
I will try again with other tools.
Have a good day!