Hi there,
I’m using SDL2 with vcpkg on Visual Studio Professional 2022 (v17.12.0), everything is fine except I can’t save JPEG images using SDL2_image module.
IMG_Init(IMG_INIT_JPG | IMG_INIT_PNG) call fails, too.
However, in my folder I see all the related DLL files (jpeg62.dll, turbojpeg.dll and so on) and PNGs are ok. I’ve installed SDL2_image typing this:
vcpkg install sdl2-image[libjpeg-turbo]
Is there something else I need to set up to use JPEGs?
Thanks.