mazu-sim
mazu-sim copied to clipboard
NASA-trick unable to build
Using third-party/trick
was unable to build it:
$ make
...
/mazu-sim/third-party/trick/bin/trick-ICG -s -m -I/mazu-sim/third-party/trick/trick_source -I/mazu-sim/third-party/trick/include -I/mazu-sim/third-party/trick/include/trick/compat -DTRICK_VER=19 -DTRICK_MINOR=1 -fpic -DUSE_ER7_UTILS_INTEGRATORS -D_HAVE_GSL /mazu-sim/third-party/trick/include/trick/files_to_ICG.hh
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
make: *** [Makefile:187: icg_sim_serv] Aborted (core dumped)
Using command:
➜ trick git:(e7e937ee) ✗ /mazu-sim/third-party/trick/bin/trick-ICG -s -m -I/mazu-sim/third-party/trick/trick_source -I/mazu-sim/third-party/trick/include -I/mazu-sim/third-party/trick/include/trick/compat -DTRICK_VER=19 -DTRICK_MINOR=1 -fpic -DUSE_ER7_UTILS_INTEGRATORS -D_HAVE_GSL /mazu-sim/third-party/trick/include/trick/files_to_ICG.hh
sh: /bin/trick-gte: No such file or directory
In file included from /mazu-sim/third-party/trick/include/trick/files_to_ICG.hh:5:
include/trick/GetTimeOfDayClock.hh:16:10: fatal error: 'time.h' file not found
#include <time.h>
^~~~~~~~
Warning: TRICK_ICG found in one or more header files. The use of TRICK_ICG precludes the use of
some C++ class/structures in these headers. Consider removing the TRICK_ICG preprocessor conditionals
Warning: TRICK_ICG used in preprocessor conditional /usr/lib/clang/9.0.0/include/stdint.h:20:2
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[1] 884268 abort (core dumped) /mazu-sim/third-party/trick/bin/trick-ICG -s -m -fpic
But building with the latest trick from nasa/trick
was able to build it & install.
(Is v19.0 compatible with mazu-sim?)