assistant-sdk-cpp icon indicating copy to clipboard operation
assistant-sdk-cpp copied to clipboard

Problem building assistant in C++

Open ptapadiya opened this issue 4 years ago • 0 comments

After building grpc and all other dependencies, when I try to run "make run_assistant," the first error I get is in json_util.cc:

extern "C" { <src/core/lib/json/json.h> }

The included file, json.h, uses stl maps. But templates are not allowed under "extern C" scope. As a result, the build does not go through.

I commented out "extern C" part. However, now I get another error that "grpc_json" at json_util.cc:28 is undefined. I have searched all the headers but cannot find "grpc_json" anywhere.

Wondering what is it that I missed.

Thank you for your help.

ptapadiya avatar Dec 03 '20 01:12 ptapadiya