31 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
36 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE
38 #elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX
48 LOG(
fmt::format(
"[RoR|ErrorPopupDialog] {}: {}", title, err));
49 std::string infoText =
_L(
"An internal error occured in Rigs of Rods.\n\nTechnical details below: \n\n");
62 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
63 int mtype = MB_ICONERROR;
65 mtype = MB_ICONINFORMATION;
68 MessageBoxW(NULL, err_w.c_str(), title_w.c_str(), MB_OK | mtype | MB_TOPMOST);
69 #elif OGRE_PLATFORM == OGRE_PLATFORM_LINUX
70 printf(
"\n\n%s: %s\n\n", title.c_str(), err.c_str());
71 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE
72 printf(
"\n\n%s: %s\n\n", title.c_str(), err.c_str());