diff --git a/src/main.cpp b/src/main.cpp index 6171aabee..b55880c55 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; }