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

Bunch of errors when trying to add Pangolin to this 3D camera app #887

Closed
crosswick opened this issue Sep 13, 2023 · 2 comments
Closed

Bunch of errors when trying to add Pangolin to this 3D camera app #887

crosswick opened this issue Sep 13, 2023 · 2 comments

Comments

@crosswick
Copy link

crosswick commented Sep 13, 2023

Hi - I would like to use this existing app to get a point cloud stream from my Revopoint POP 3, and do some processing on it using Pangolin and Cilantro:

https://github.com/Revopoint/3DViewer

However each time I do a minimal inclusion of Pangolin in the relevant CMakeLists.txt of this project, I get a whole bunch of errors, like for instance:

In file included from /usr/local/Cellar/qt@5/5.15.10_1/lib/QtWidgets.framework/Headers/QDialog:                    ~~~~~~~~~~~~~~~~~~~~~~~~~^1:
In file included from 
error: /usr/local/Cellar/qt@5/5.15.10_1/lib/QtWidgets.framework/Headers/qdialog.h:43/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/type_traits:
:error: 
no template named 'is_trivial_v' in namespace 'std'; did you mean 'is_trivial'?3728In file included from :/usr/local/include/QtWidgets/qtwidgetsglobal.h50
:7:                     ~~~~~^7 :

expected '(' for function-style cast or type constructionIn file included from /usr/local/include/QtGui/qtguiglobal.h

Perhaps somebody could help me figure out what's going on here, please? Seems like some kind of Qt conflict. Or perhaps a matter of conflicting C++ standards?

@crosswick
Copy link
Author

Meanwhile it seems it may be a conflict between versions 5 and 6 of Qt on my system; still investigating

@stevenlovegrove
Copy link
Owner

I'm sorry no-one had any suggestions for you on this. I hope you figured it out. Since this is quite old and very user / machine / version dependent, I'll close the issue out.

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