About 62,000 results
Open links in new tab
  1. How to render text in SDL2? - Stack Overflow

    Apr 5, 2014 · I'm using an SDL_Window and SDL_Renderer. Is it possible to use SDL_TTF with SDL_Render/SDL_Window? If so, how?

  2. How do I use SDL2 in my programs correctly? - Stack Overflow

    Oct 16, 2020 · I want to make a game using SDL2, but I'm unable to compile and/or run my code, please help! SDL2 is notoriously hard to set up, and it's often the first library aspiring game developers try to …

  3. How to use SDL2 and SDL_image with cmake - Stack Overflow

    May 25, 2014 · I'm looking for the simplest way to compile a c++ program using SDL2 and SDL_image with cmake. Here is my best attempt, after hours of searching: CMakeLists.txt project (shooter-cmake2)

  4. c++ - How to draw pixels in SDL 2.0? - Stack Overflow

    How does one draw with pixels in SDL2.0? I'm trying to get familiar with C++, but this is very difficult to do without pretty pictures, so I'm trying to get a very basic graphics display thing running.

  5. How do I statically link SDL2 in Visual Studio 2022?

    Jul 30, 2023 · How do I link SDL2 statically without having to have DDL's? also I've read somewhere online that you have to statically build DDL's into lib libraries?

  6. c++ - Using SDL2 with CMake - Stack Overflow

    Feb 8, 2015 · I'm trying to use CLion to create a SDL2 project. The problem is that the SDL headers can't be found when using #include's. My CMakeLists.txt file: cmake_minimum_required(VERSION …

  7. sdl - Static-linking of SDL2 libraries - Stack Overflow

    sdl2-config script can help with this. Particulary form sdl2-config --static-libs should supply all that is needed (should work cross-platform). More info : link

  8. '"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 libsdl installed properly, SDL.h is in /usr/include/sdl where it be...

  9. sdl2 - SDL_Image setup problems on windows / mingw 64 / eclipse

    Again, this worked when I was only including SDL2, and broke when I tried to include SDL2_image because the image library references the normal library in a way that can't be reconciled. Has …

  10. undefined reference to WinMain@16 C++, SDL-2 - Stack Overflow

    Sep 2, 2015 · In SDL / SDL2, in an effort to try to make cross-platform development of certain kinds of applications simpler, SDL creates a custom "entry-point" to your application.