-
Notifications
You must be signed in to change notification settings - Fork 12
Description
i've been trying to install LibreSprite on Linux and i can't get past the "cmake -G Ninja .." step, because the program can't find SDL2. i've read that i can change the cmake file directly to add the path to SDL2. however i'm not sure how to do so, and i've been fighting with this for 6 hours. if anyone has a source code or an already altered cmake file, do let me know.
To show that it is indeed said issue, here is the error code:
CMake Error at /usr/local/share/cmake-4.2/Modules/FindPkgConfig.cmake:1203 (message):
None of the required 'sdl2' found
Call Stack (most recent call first):
cmake/FindSDL2.cmake:77 (pkg_search_module)
CMakeLists.txt:263 (find_package)
CMake Error at /usr/local/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
cmake/FindSDL2.cmake:206 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:263 (find_package)
thanks!