Skip to content

sfm module calls imread function, which is in imgcodecs module - #2007

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
tedsteiner:features2d-without-highgui
Feb 21, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
tedsteiner:features2d-without-highgui

Conversation

@tedsteiner

Copy link
Copy Markdown
Contributor

This built correctly before because tests were run with the highgui module enabled.
The sfm module links against the features2d module, which brings in the highgui module as an optional target if enabled.
Through this path, imread was working correctly despite the file including the wrong header and not declaring its linking dependency.

This pullrequest changes

Module sfm now explicitly links against module imgcodecs.

See related pull request: opencv/opencv#13849

This built correctly before because tests were run with the highgui module enabled.
The sfm module links against the features2d module, which brings in the highgui module as an optional target if enabled.
Through this path, imread was working correctly despite the file including the wrong header and not declaring its linking dependency.
@opencv-pushbot
opencv-pushbot merged commit fe71b09 into opencv:3.4 Feb 21, 2019
@alalek alalek mentioned this pull request Feb 26, 2019
kallaballa pushed a commit to kallaballa/Plan-V4D.old that referenced this pull request Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants