At the moment MathMap is not able to build on Ubuntu 17.10. (latest)
An error message recorded by Arch Linux is almost identical to the error I'm getting on Ubuntu 17.10
https://bugs.archlinux.org/task/54585The problem could be caused by gcc7. Ubuntu 17.04 uses gcc6.
MathMap currently builds OK on Ubuntu 17.04 and Gimp 2.9.7.
Error.
In file included from builtins/../compiler.h:34:0,
from builtins/../mathmap.h:37,
from builtins/libnoise.cpp:25:
builtins/../drawable.h:108:21: error: flexible array member ‘_image_t::<unnamed union>::<unnamed struct>::args’ not at end of ‘struct _input_drawable_t’
userval_t args[];
^