Compiling with msys2
I had built dcss 0.21.1 with msys2, but some tiles are not displayed.
What should I do to fix this problem?
Environment:
- Windows 10 (Home)
- Git for windows SDK 1.0.6 https://github.com/git-for-windows/build-extra/releases
- g++.exe (Rev1, Built by MSYS2 project) 7.2.0
- building as follows:
edit contrib/sdl2/src/core/windows/SDL_xinput.h for compile error:
- Code:
#if 0 // comment out for compile error
#ifndef HAVE_XINPUT_GAMEPAD_EX
typedef struct
{
WORD wButtons;
BYTE bLeftTrigger;
BYTE bRightTrigger;
SHORT sThumbLX;
SHORT sThumbLY;
SHORT sThumbRX;
SHORT sThumbRY;
DWORD dwPaddingReserved;
} XINPUT_GAMEPAD_EX;
#endif
#ifndef HAVE_XINPUT_STATE_EX
typedef struct
{
DWORD dwPacketNumber;
XINPUT_GAMEPAD_EX Gamepad;
} XINPUT_STATE_EX;
#endif
#endif