Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report a bug, "foreach", and solution #4461

Closed
xzlxiao opened this issue Jul 18, 2019 · 2 comments
Closed

Report a bug, "foreach", and solution #4461

xzlxiao opened this issue Jul 18, 2019 · 2 comments
Labels

Comments

@xzlxiao
Copy link

xzlxiao commented Jul 18, 2019

Required Info
Camera Model D400
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version MacOS
Kernel Version (Linux Only)
Platform PC
SDK Version 2.24.0
Language c++
Segment

Issue Description

report a bug:
When I used this sdk with qt, a problem would be encountered.
A function called foreach in file "rs_frame.hpp" was in conflict with qt.
I renamed the function to get through compilation.
I suggest you will change the name of this function in the source code.

@dorodnic
Copy link
Contributor

Hi @xzlxiao
Yes, you are right. There was a PR (#2470) trying to address this exact same issue. The original pull-request was not passing CI (it also requires small fixes in the python wrapper), and I forgot to fix and merge it myself. Should be done.

@dorodnic
Copy link
Contributor

Should be resolved today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants