According to the SDL WWW site 'Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware'. This document describes how to install SDL v2 on MS-Windows for use with MinGW. GPG Signature: The source code to this release has been signed by Sam Lantinga. You can get the public key from any keyserver with the key id 0xA7763BE6, or directly from Sam's home page: slouken-pubkey.asc The public key fingerprint should be.
MC.EXE
We’ve made some important changes to the C/C++ ETW code generation of Message Compiler (MC, or mc.exe):
Message Compiler (mc.exe)
Message Compiler (mc.exe)
- The “-mof” switch (to generate XP-compatible ETW helpers) is considered to be deprecated and will be removed in a future version of mc.exe. Removing this switch will cause the generated ETW helpers to expect Vista or later.
- The “-A” switch (to generate .BIN files using ANSI encoding instead of Unicode) is considered to be deprecated and will be removed in a future version of mc.exe. Removing this switch will cause the generated .BIN files to use Unicode string encoding.
- The behavior of the “-A” switch has changed. Prior to Windows 1607 Anniversary Update SDK, when using the -A switch, BIN files were encoded using the build system’s ANSI code page. In the Windows 1607 Anniversary Update SDK, mc.exe’s behavior was inadvertently changed to encode BIN files using the build system’s OEM code page. In the 19H1 SDK, mc.exe’s previous behavior has been restored and it now encodes BIN files using the build system’s ANSI code page. Note that the -A switch is deprecated, as ANSI-encoded BIN files do not provide a consistent user experience in multi-lingual systems.
Active3 years, 9 months ago
I cannot for the life of me get SDL2 to work with my programming group's project.
Autocad polyline settings. I'm using
-Clion 1.2.1
-SDL 2.0.3
Sdl Windows 10 Update
-MinGW 5.0
The compiler starts yelling at me from within the Graphics.h file which includes SDL like so:
with the error being:
I tried including with
which still yielded the same error.
I downloaded SDL from the MinGW 32/64-bit download of development libraries from: https://www.libsdl.org/download-2.0.php. I also linked the respective .SDL2x86_64-w64-mingw32include and lib to path in system->advanced system settings->..
Still nothing.
is the cmakefile I have in Clion. I've been bashing my head bloody trying to get this to work and none of the previous Stackoverflow questions managed to solve my issue.
TenbinTenbin
1 Answer
Personally I uses MSYS2 in my project. The MINGW64 vesion of SDL2 and the other library were installed, as well as the other toolchains like gcc, cmake, and pkg-config (toolchains are MINGW64 version as well).
Sdk Windows 10
Then I point my CLion toolchain configuration to the
c:msys2mingw64
, given that I install the msys2 at c:msys2
.The FindPkgConfig CMake module is used to locate the SDL2 library and include files location.
Please find the example below (I also use FreeType2 and harfbuzz as well). The important part is the FindPkgConfig part (pkg_check_modules) and include/link part.
Make sure to reload the configuration after you have modified the cmake file.
Sdl Trados 2017 Windows 10
This has been tested on Windows (MSYS2) and Linux.
Wutipong WongsakuldejWutipong Wongsakuldej