If I try to compile the python bindings using the recommended instructions on a stock Ubuntu 18.04 install [after installing necessary dependencies], I get the error mentioned in the title. Luckily, there seems to be an easy fix -- throw in an #include<functional> to the top of vptree.hpp.