GoogleCloudPlatform / wsi-to-dicom-converter

Conversion tool/library for converting whole slide images to DICOM
Apache License 2.0
77 stars 26 forks source link

Fix a compilation error when using libjsoncpp 1.9.x #95

Closed malaterre closed 2 years ago

malaterre commented 2 years ago

Message is:

wsi-to-dicom-converter/src/dcmTags.cpp:28:26: error: use of deleted function ‘Json::Value::Value(std::nullptr_t)’ 28 | if (obj[tag][VALUE] != nullptr) { | ^~~ In file included from /usr/include/jsoncpp/json/reader.h:11, from /usr/include/jsoncpp/json/json.h:11, from wsi-to-dicom-converter/src/dcmTags.cpp:19: /usr/include/jsoncpp/json/value.h:345:3: note: declared here 345 | Value(std::nullptr_t ptr) = delete; | ^~~~~

Closes: #93

Philbrick commented 2 years ago

/gcbrun