Sdl Windows 10

Active3 years, 9 months ago

I cannot for the life of me get SDL2 to work with my programming group's project.

Installing SDL on a Windows 10 PC (VS2015) Is SDL compatible w/ Win10 and VS2015 (C). I tried a few tutorials on how to install but none of them worked, and just gave me an error trying to use a test program. Update: Thanks to everyone's help I got it to work. SDL: MinGW: GitHub Source Code Link: Like our content and want to su. 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. Free download SDL Trados Studio latest version 2019 for windows 10 64 bit, 32 bit Full Setup for PC and Laptop. Complete translation environment for language professionals who want to edit, review and manage translation projects as well as corporate terminology.

I'm using

-Clion 1.2.1

Jan 12, 2017  SDL: MinGW: GitHub Source Code Link: Like our content and want to su. 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.

-SDL 2.0.3

-MinGW 5.0

It’s a flexible hardware control app. With the help of logic remote app you can control other aspects of MainStage. Mainstage software for pc. And other musician like vocalists, and drummer can sing and play with multi-effects setups using a microphone. On this app you can play guitar through virtual amps and also use effects such as overdrive and compression.

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).

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.

This has been tested on Windows (MSYS2) and Linux.

Wutipong WongsakuldejWutipong Wongsakuldej

Not the answer you're looking for? Browse other questions tagged c++windowsmingwsdl-2clion or ask your own question.

Active3 years, 9 months ago

I cannot for the life of me get SDL2 to work with my programming group's project.

I'm using

-Clion 1.2.1

-SDL 2.0.3

-MinGW 5.0

The compiler starts yelling at me from within the Graphics.h file which includes SDL like so:

By ensuring that your code uses the ODBC defined types listed below, you can compile the same source code both for 64-bit and 32-bit platforms based on the WIN64 or WIN32 macros.There are several points to keep in mind when programming for a 64-bit processor:.Although the size of a pointer has changed from 4 bytes to 8 bytes, integers and longs are still 4 byte values. ODBC 64-Bit Information. The ODBC headers and libraries first shipped with MDAC 2.7 SDK contain changes to allow programmers to easily write code for the new 64 bit platforms. The types INT64 and UINT64 have been defined for 8 byte integers. 6 minutes to read.In this articleBeginning with Windows Server 2003, Microsoft operating systems have supported the 64-bit ODBC libraries. Microsoft odbc driver 64 bit download.

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).

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.dll Windows 10

This has been tested on Windows (MSYS2) and Linux.

Wutipong WongsakuldejWutipong Wongsakuldej

Sdl Trados Studio 2011 Windows 10

Not the answer you're looking for? Browse other questions tagged c++windowsmingwsdl-2clion or ask your own question.