I was able to build BletchMAME on Linux with

$ cmake .. -DEXPAT_INCLUDE_DIR=/usr/include/ -DEXPAT_LIBRARY=/usr/lib64/libexpat.so.1 -DZLIB_LIBRARY=/usr/lib64/libz.so

but clicking on a driver gives me a sigabrt, after a window for the emulation briefly popped up.

Does BletchMAME make use of the Lua interface? I've already been thinking about a fully detachable UI, text or graphics, using a remote Lua connection. (Would mean to make the Lua console accessible by socket first.)