mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-15 22:05:07 -05:00
Abort compile when attempting to build client with Irrlicht 1.8.2
This commit is contained in:
parent
88a3977954
commit
889f893ff3
13
src/main.cpp
13
src/main.cpp
@ -18,11 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#ifndef SERVER // Dedicated server isn't linked with Irrlicht
|
#ifndef SERVER // Dedicated server isn't linked with Irrlicht
|
||||||
#pragma comment(lib, "Irrlicht.lib")
|
#pragma comment(lib, "Irrlicht.lib")
|
||||||
// This would get rid of the console window
|
// This would get rid of the console window
|
||||||
//#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
|
//#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
|
||||||
#endif
|
#endif
|
||||||
#pragma comment(lib, "zlibwapi.lib")
|
#pragma comment(lib, "zlibwapi.lib")
|
||||||
#pragma comment(lib, "Shell32.lib")
|
#pragma comment(lib, "Shell32.lib")
|
||||||
#endif
|
#endif
|
||||||
@ -59,7 +59,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_TOUCHSCREENGUI
|
#ifdef HAVE_TOUCHSCREENGUI
|
||||||
#include "touchscreengui.h"
|
#include "touchscreengui.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(SERVER) && \
|
||||||
|
(IRRLICHT_VERSION_MAJOR == 1) && \
|
||||||
|
(IRRLICHT_VERSION_MINOR == 8) && \
|
||||||
|
(IRRLICHT_VERSION_REVISION == 2)
|
||||||
|
#error "Irrlicht 1.8.2 is known to be broken - please update Irrlicht to version >= 1.8.3"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUGFILE "debug.txt"
|
#define DEBUGFILE "debug.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user