Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obit installation in Mac Os. #23

Open
dj-kim opened this issue Apr 9, 2020 · 0 comments
Open

Obit installation in Mac Os. #23

dj-kim opened this issue Apr 9, 2020 · 0 comments

Comments

@dj-kim
Copy link

dj-kim commented Apr 9, 2020

I'm struggling with Obit installation in MAC.
An error occurs when It installs one of dependency (libair).
Does anybody know a solution?

It seems like the source code is outdated.
Following are error messages.

==> ./configure --prefix=/usr/local/Cellar/libair/1.2 --disable-pybind
==> make install

Last 15 lines from /Users/cosmos/Library/Logs/Homebrew/libair/02.make:
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/Cellar/bnmin1/1.11/include -I/usr/local/include -DBOOST_TEST_DYN_LINK -DDATADIR=/usr/local/Cellar/libair/1.2/share -g -O2 -c radiometer_utils.cpp -fno-common -DPIC -o .libs/libair_la-radiometer_utils.o
In file included from radiometer_utils.cpp:13:
./radiometermeasure.hpp:116:8: error: no matching conversion for functional-style cast from 'const char [51]' to 'LibAIR::RadiometerError'
throw RadiometerError("More than one channel but asking for single result");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./radiometermeasure.hpp:26:9: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const char [51]' to 'const LibAIR::RadiometerError' for 1st argument
class RadiometerError :
^
./radiometermeasure.hpp:31:5: note: candidate constructor not viable: no known conversion from 'const char [51]' to 'const std::string' (aka 'const basic_string<char, char_traits, allocator >') for 1st argument
RadiometerError(const std::string & s):
^
1 error generated.
make[2]: *** [libair_la-radiometer_utils.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant