Oops, never mind. Took a closer look at the error message and noticed the SDL2-2 lib missing and installed that with Synaptic and now it has built and run.