diff --git a/src/main.cpp b/src/main.cpp index 6171aabe..b55880c5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -308,10 +308,13 @@ int main(int argc, char** argv) { return 0; } +#ifdef HAVE_GUI g.bindEngine(&e); g.init(); g.loop(); - +#else + logE("GUI requested but GUI not compiled!\n"); +#endif return 0; }