You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: