Thanks; worked like a charm once I pulled in some more libraries. One thing to tweak for Linux use: add upper-case versions of the image file extensions to the fifth parameter of the openFileDialog call in gui.cpp, so you don't have to rename all those image files that cameras and phones tend to give upper case names to.