libsdl-org / SDL_image

Image decoding for many popular formats for Simple Directmedia Layer.
zlib License
513 stars 174 forks source link

SDL2_image.dll.lib', needed by '.exe', missing and no known rule to make it #412

Closed DFelipehDEV closed 6 months ago

DFelipehDEV commented 6 months ago

I have downloaded the sdl2_image mingw in my Windows PC. I have it in a library folder that has a CMAKE_PREFIX_PATH linked to it and i place all libraries in there, including sdl_image and sdl. When i run my CMake it says

'C:/Bibliotecas/SDL2_image-2.8.2/x86_64-w64-mingw32/lib/SDL2_image.dll.lib', needed by 'TerraRuntime/TerraRuntime.exe', missing and no known rule to make it C:\Users\thedi\Dev\Projetos\TerraProject\TerraRuntime\out\build\x64-debug\TerraRuntime C:\Users\thedi\Dev\Projetos\TerraProject\TerraRuntime\out\build\x64-debug\TerraRuntime\ninja 1
I believe this is because mingw was bundled as .a lib files and not .lib files

imagem imagem imagem