Ralph Pass Jul 8, 2016
On Jul 8, 2016, at 2:31 PM, aldelphi33@... [find_orb] <find_orb@yahoogroups.com> wrote:Hi all
I only have a Mac computer and would like to use find_orb but when I try to compile the C source code I get an error. I get the same error on Linux and various different versions of Mac OSX. Hope someone can help. The error message I get is below.
On Mac OSX Mavericks (also tried it on the older Snow Leopard and newer El Capitan) make -f linmake gets these types of errors:
mt64.cpp:106:19: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
mt[i] = (UINT64_C( 6364136223846793005) * (mt[i-1] ^ (mt[i-1] >> 62)) + i);
^
/usr/include/stdint.h:201:23: note: expanded from macro 'UINT64_C'
#define UINT64_C(v) (v ## ULL)
^
<scratch space>:5:1: note: expanded from here
6364136223846793005ULL
^
but creates find_orb with these libraries:
find_orb:
/opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
However, it bombs on execution:
% ./find_orb astrometry.txt
Assertion failed: (edata), function get_environment_ptr, file mpc_obs.cpp, line 3868.
Abort
Thanks
Steve