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

Hide VTK 7.1.1 Deprecated Warnings #1

Open
davidstutz opened this issue Dec 15, 2017 · 0 comments
Open

Hide VTK 7.1.1 Deprecated Warnings #1

davidstutz opened this issue Dec 15, 2017 · 0 comments

Comments

@davidstutz
Copy link

I came across the problem of having a lot of deprecated warnings of VTK (when using VTK 7.1.1) such as

Generic Warning: In ~/VTK-7.1.1/Common/Core/vtkAOSDataArrayTemplate.txx, line 262
vtkAOSDataArrayTemplate::InsertNextTupleValue was deprecated for VTK 7.1 and will be removed in a future version.  Use vtkGenericDataArray::InsertNextTypedTuple instead.

This caused the visualization to fail as the terminal/console was spammed with these warnings. Just wanted to let people know that a simple workaround is to add

vtkObject::GlobalWarningDisplayOff();

in Visualization::Visualization (in external/viz/src/viz.cpp).

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

1 participant