About 50 results
Open links in new tab
  1. 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 …

  2. 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?

  3. 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 …

  4. '"SDL.h" no such file or directory found' when compiling

    Having a similar case and I couldn't use StackAttack s solution as he's referring to SDL2 which is for the legacy code I'm using too new. Fortunately our friends from askUbuntu had something similar:

  5. macos - Install SDL2 in mac - Stack Overflow

    Nov 15, 2017 · Install SDL2 in mac Asked 8 years, 5 months ago Modified 6 years, 10 months ago Viewed 42k times

  6. 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?

  7. SDL2/_real_SDL_config.h: No such file or directory

    Apr 6, 2021 · I have been trying to set up SDL2 on a WSL (Ubuntu) and cross compile to windows using cmake and mingw. I ran into this problem where it fails trying to compile the library files themselves: …

  8. c++ - How to link SDL2 in CMake? - Stack Overflow

    May 18, 2020 · g++ myProgram.cpp -o myProgram `sdl2-config --cflags --libs` -lSDL2 -lSDL2_mixer -lSDL2_image -lSDL2_ttf I'm using Cmake and I have no idea how to link them... Below it's code done …

  9. sdl - SDL2: How to properly toggle fullscreen? - Stack Overflow

    I have problems deactivating fullscreen mode with my program. Entering fullscreen happens correctly, but trying to go back to windowed mode doesn't work, the only effect is that the cursor gets shown

  10. ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.4.5

    Nov 7, 2022 · I did all the whole process to install Kivy... python -m pip install --upgrade pip wheel setuptools python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew python …