Skip to content

Problem building assistant in C++ #81

Open
@ptapadiya

Description

@ptapadiya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions