You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that VTK now includes the same json as we do (nlohmann::json). However, vtk puts the json into their own namespace.
This leads to errors of the form
error: ‘vtknlohmann’ does not name a type; did you mean ‘nlohmann’?
82 | nlohmann::json SerializeValues();
| ^~~~~~~~
src/configreader.hpp:16:14: error: ‘vtknlohmann’ does not name a type; did you mean ‘nlohmann’?
16 | using json = nlohmann::json;
My guess would be that the compiler then only includes one of the two json files. Requires some investigation. I didn't face this issue in VTK version 9.3.
The text was updated successfully, but these errors were encountered:
Observed in the most recent vtk 9.4.1:
It seems that VTK now includes the same json as we do (
nlohmann::json
). However, vtk puts the json into their own namespace.This leads to errors of the form
My guess would be that the compiler then only includes one of the two json files. Requires some investigation. I didn't face this issue in VTK version 9.3.
The text was updated successfully, but these errors were encountered: