Skip to content

config without (jpeg and png) will result in compiling fail! #17751

@walkthetalk

Description

@walkthetalk
System information (version)
  • OpenCV => 4.3.0
  • Operating System / Platform => poky
  • Compiler => gcc 10.1
Detailed description

without (jpeg and png), following array in 'modules/imgcodecs/test/test_read_write.cpp' will have zero length:
const tuple<string, Size> images[]

it will result in compiling fail when executing:
testing::ValuesIn(images)

can't deduce template parameters.

Steps to reproduce

config opencv with both jpeg and png disabled.

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions