55 #ifdef CHECK_MEMORY_LEAKS
67 main(
int argc,
char** argv) {
88 FXApp application(
"SUMO GUISimulation",
"DLR");
90 application.init(argc, argv);
92 if (!FXGLVisual::supported(&application, major, minor)) {
93 throw ProcessError(
"This system has no OpenGL support. Exiting.");
102 application.addSignal(SIGINT, window,
MID_QUIT);
103 application.create();
105 if (oc.
isSet(
"configuration-file") || oc.
isSet(
"net-file")) {
109 ret = application.run();
111 if (std::string(e.what()) != std::string(
"Process Error") && std::string(e.what()) != std::string(
"")) {
117 }
catch (
const std::exception& e) {
118 if (std::string(e.what()) != std::string(
"")) {