Skip to content

Namespace OpenCV compile definition and make PUBLIC#295

Merged
ethanmusser merged 3 commits into
carnegierobotics:masterfrom
ethanmusser:ethanmusser/have-opencv-odr-violation
May 15, 2026
Merged

Namespace OpenCV compile definition and make PUBLIC#295
ethanmusser merged 3 commits into
carnegierobotics:masterfrom
ethanmusser:ethanmusser/have-opencv-odr-violation

Conversation

@ethanmusser
Copy link
Copy Markdown
Contributor

Replace the private HAVE_OPENCV compile definition with the public MULTISENSE_HAVE_OPENCV. This new definition leaks to library consumers, so the #define HAVE_OPENCV 1 line is no longer needed in consumer source files.

This may be part of the issue seen in #294.

@ethanmusser ethanmusser self-assigned this May 14, 2026
@ethanmusser ethanmusser added the bug Something isn't working label May 14, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jmonticelli
Copy link
Copy Markdown
Member

I think this is good and probably should be applied similarly to my feature in #285, binding to the target is better than exposing explicitly via the config.

@ethanmusser ethanmusser changed the title Namespace OpenCV comp. def. and make PUBLIC Namespace OpenCV compile definition and make PUBLIC May 15, 2026
@ethanmusser ethanmusser merged commit 6f1771d into carnegierobotics:master May 15, 2026
9 checks passed
@ethanmusser ethanmusser deleted the ethanmusser/have-opencv-odr-violation branch May 15, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants