-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
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
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.