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

error:‘const class rs2::depth_frame’ has no member named ‘get_units’; did you mean ‘get_width’? #1

Open
Zhang-Yuheng-max opened this issue Jul 24, 2021 · 1 comment

Comments

@Zhang-Yuheng-max
Copy link

您好,向您请教一个问题。我在编译的时候遇到了如下错误,不知怎么解决,您遇到过吗
Object-Detection-and-location-RealsenseD435-master/TensorRT/include/cv-helpers.hpp:52:17: error: ‘const class rs2::depth_frame’ has no member named ‘get_units’; did you mean ‘get_width’?
dm = dm * f.get_units();
^~~~~~~~~
get_width
compilation terminated due to -Wfatal-errors.

@Mazhichaoruya
Copy link
Owner

看起来应该是Realsense驱动安装的问题,确认一下驱动是否安装好了吧。

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

No branches or pull requests

2 participants