Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem building assistant in C++ #81

Open
ptapadiya opened this issue Dec 3, 2020 · 0 comments
Open

Problem building assistant in C++ #81

ptapadiya opened this issue Dec 3, 2020 · 0 comments

Comments

@ptapadiya
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant