KitwareMedical/ImageViewer

Failed to compile with Json

Closed this issue · 1 comments

Here is a compilation error when I try to compile on Mac:

In file included from /Users/exxos/Work/TubeTK-ImageViewer-D64/ParameterSerializer/src/itkJsonCppArchiver.cxx:23:
/Users/exxos/Work/TubeTK-ImageViewer-D64/ParameterSerializer/include/itkJsonCppArchiver.h:57:22: error: use of undeclared identifier 'Json'
  void SetJsonValue( Json::Value * value );
                     ^

I have a json installed on my machine. While JsonCpp_DIR is correctly set, JsonCpp_INCLUDE_DIR and JsonCpp_LIBRARY are pointing to my system json.

Fixed by 03d1afb