Top "Sdl" questions

Simple DirectMedia Layer (SDL) is a cross-platform, free and open source multimedia library.

libpng warning: iCCP: known incorrect sRGB profile

I'm trying to load a PNG image using SDL but the program doesn't work and this error appears in the …

c++ warnings sdl rgb libpng
How to output to the console in C++/Windows

When using iostream in C++ on Linux, it displays the program output in the terminal, but in Windows, it just …

c++ windows console sdl iostream
'"SDL.h" no such file or directory found' when compiling

Here's a piece of my current Makefile: CFLAGS = -O2 -Wall -pedantic -std=gnu++11 `sdl-config --cflags --libs` -lSDL_mixer I have …

c++ linux sdl
How to suppress console output in Python?

I'm using Pygame/SDL's joystick module to get input from a gamepad. Every time I call its get_hat() method …

python sdl pygame
Problems using member function as custom deleter with std::shared_ptr

I'm trying to work out how to use std::shared_ptr with a custom deleter. Specifically, I'm using it with …

c++ sdl shared-ptr
SDL/SDL_image.h: No such file or directory

I'm trying to follow Lazy Foo's tutorials. But when I try to run one of his examples I get this …

c++ sdl codeblocks
_Block_Type_Is_Valid (pHead->nBlockUse) Error

I been working in a new project but I encounter with a problem which I can't see why fail. When …

c++ debugging visual-c++ pointers sdl
How to use SDL2 and SDL_image with cmake

I'm looking for the simplest way to compile a c++ program using SDL2 and SDL_image with cmake. Here is …

c++ cmake sdl sdl-2 sdl-image
Printf is not printing anything to output? C++ SDL

I am trying to use "printf" in my Visual C++ project however it is not working. Using Lazy Foo's tutorial, …

c++ visual-c++ sdl printf
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup, but this time it's NOT a Windows/Console problem!

So, the infamous error is back. The project is complaining that it can't find the main() method (that's what the …

c++ opengl sdl lnk2019