Skip to content

Build failure with USE_LIBRAW=OFF #21721

Description

@dtrtuser

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions