istio-ecosystem / wasm-extensions

Contains miscellaneous Wasm extensions for Istio
Apache License 2.0
105 stars 34 forks source link

Issue with grpc_logging example #70

Closed wesleyhales closed 2 years ago

wesleyhales commented 2 years ago

Hi - I tried to compile the grpc logging example and received the following error: wasm_compile_log_1 | In file included from examples/wasm-cc/plugin.cc:1: wasm_compile_log_1 | examples/wasm-cc/plugin.h:1:10: fatal error: 'extensions/grpc_logging/config.pb.h' file not found wasm_compile_log_1 | #include "extensions/grpc_logging/config.pb.h" wasm_compile_log_1 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wasm_compile_log_1 | 1 error generated.

Are there files missing? or am I doing something wrong? Thanks!

bianpengyuan commented 2 years ago

How did you compile it?

wesleyhales commented 2 years ago

I replaced the source in the envoy example here with grpc_logging: https://github.com/envoyproxy/envoy/tree/main/examples/wasm-cc

Should I compile it differently? what is the best way to do a simple test on envoy?