diff --git a/source/gcore/gcore_utils.cpp b/source/gcore/gcore_utils.cpp index 8b5a43b141c76535d8844f084680d06aacb5db46..f5f31ca14f5dea45ae053c15968ba7957c2ac557 100644 --- a/source/gcore/gcore_utils.cpp +++ b/source/gcore/gcore_utils.cpp @@ -35,7 +35,12 @@ void InitDevice(SXWINDOW hWnd, int iWidth, int iHeight, bool isWindowed) m_hLibGXAPI = LoadLibrary(szModuleName); if(!m_hLibGXAPI) { - LibReport(REPORT_MSG_LEVEL_FATAL, "%s - unable to load GX: %s; Error: %lu\n", GEN_MSG_LOCATION, szModuleName, GetLastError()); + const char *szMsg = ""; + if(GetLastError() == ERROR_MOD_NOT_FOUND && !fstrcmp(szModuleName, "gxgapidx11.dll")) + { + szMsg = "Please check you have d3dx11_43.dll and D3DCompiler_43.dll in your system!\n"; + } + LibReport(REPORT_MSG_LEVEL_FATAL, "%s - unable to load GX: %s; Error: %lu\n%s", GEN_MSG_LOCATION, szModuleName, GetLastError(), szMsg); return; }