Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
ISC License
383 stars 73 forks source link

Could NOT find SDL2 (missing: image mixer net ttf) #96

Open NmkDjecko opened 10 months ago

NmkDjecko commented 10 months ago

Iam trying to build the library with cmake buuuut i can't ! There are multiple problems but i'm trying to solve this specific issue : Could NOT find SDL2 (missing: image mixer net ttf) (The full result of the build is here) -- Could NOT find SDL2 (missing: image mixer net ttf) CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Lua: Found unsuitable version "5.4", but required is exact version "5.3" (found Lua_LIBRARY-NOTFOUND) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:597 (_FPHSA_FAILURE_MESSAGE) cmake/FindLua.cmake:56 (find_package_handle_standard_args) CMakeLists.txt:53 (find_package) I tried to edit the FindSDL2.cmake but i am really struggling to understand the basic of the language. Please help me !