-
Notifications
You must be signed in to change notification settings - Fork 47
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
DepthCamera compilation error on clang / macOS #29
Comments
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). One thing to check is if this failure occurs with clang on Ubuntu. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I just confirmed that the build fails with clang on ubuntu, but it also gave an extra error message with a clue about how to fix it:
I'm testing inheriting with |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
|
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
There is a compilation error for clang / macOS in
OgreScene.cc
related to theDepthCamera
class since pull request #93. I haven't tested with clang on Ubuntu yet.The clearest way to see the error is by adding the following
static_assert
:This passes on Ubuntu with gcc, but fails on macOS with clang:
cc @jchoclin
The text was updated successfully, but these errors were encountered: