Is there an existing issue for this?
Describe the bug
Every other optional image loader (OpenEXR, WebP, JPEG XL, AVIF, HEIF, GraphicsMagick, ImageMagick) falls back to _unsupported_type when its library isn't built in, but dt_imageio_open_libraw is missing that guard.
Steps to reproduce
build with USE_LIBRAW=OFF
Expected behavior
should build
Logfile | Screenshot | Screencast
fix could be as simple as adding the following lines to imageio.c:
#ifndef HAVE_LIBRAW
#define dt_imageio_open_libraw _unsupported_type
#endif
Commit
No response
Where did you obtain darktable from?
self compiled
darktable version
5.7.0
What OS are you using?
Windows
What is the version of your OS?
11
Describe your system
msys2 on windows
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Is there an existing issue for this?
Describe the bug
Every other optional image loader (OpenEXR, WebP, JPEG XL, AVIF, HEIF, GraphicsMagick, ImageMagick) falls back to _unsupported_type when its library isn't built in, but dt_imageio_open_libraw is missing that guard.
Steps to reproduce
build with USE_LIBRAW=OFF
Expected behavior
should build
Logfile | Screenshot | Screencast
fix could be as simple as adding the following lines to imageio.c:
#ifndef HAVE_LIBRAW
#define dt_imageio_open_libraw _unsupported_type
#endif
Commit
No response
Where did you obtain darktable from?
self compiled
darktable version
5.7.0
What OS are you using?
Windows
What is the version of your OS?
11
Describe your system
msys2 on windows
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response