I tried compiling the source following the instructions for Ubuntu 14.04 on Ubuntu 18.04 (gcc version 7.3.0), but fail due to (what I understand) a bug on the Ubuntu side. A dirty hack is to edit some system files, then compile Bandage, and then revert the system files. Ugly, but it seems to work.
Simply change #include_next to #include at locations in the three files below.
Cheers
/J
$ sudo vim /usr/include/c++/7/cstdlib
// #include_next <stdlib.h>
#include <stdlib.h>
$ sudo vim /usr/include/c++/7/bits/std_abs.h
// #include_next <stdlib.h>
#include <stdlib.h>
$ sudo vim /usr/include/c++/7/cmath
// #include_next <math.h>
#include <math.h>
Hi,
I tried compiling the source following the instructions for Ubuntu 14.04 on Ubuntu 18.04 (gcc version 7.3.0), but fail due to (what I understand) a bug on the Ubuntu side. A dirty hack is to edit some system files, then compile Bandage, and then revert the system files. Ugly, but it seems to work.
Simply change
#include_next
to#include
at locations in the three files below.Cheers /J