second-state / WasmEdge-go

The GO language SDK and API for WasmEdge
https://www.secondstate.io/articles/extend-golang-app-with-webassembly-rust/
Apache License 2.0
107 stars 16 forks source link

wasmedge/wasmedge.h: No such file or directory #40

Closed alps-sun closed 1 year ago

alps-sun commented 1 year ago

I've been folowing the instructions yomo-wasmedge-tensorflow with go run --tags "tensorflow image" app.go and it fails with this error message:

# github.com/second-state/WasmEdge-go/wasmedge
/root/go/pkg/mod/github.com/second-state/!wasm!edge-go@v0.12.0/wasmedge/ast.go:3:11: fatal error: wasmedge/wasmedge.h: No such file or directory
    3 | // #include <wasmedge/wasmedge.h>
      |           ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
hydai commented 1 year ago

Do you install wasmedge dependencies in these steps? https://github.com/yomorun/yomo-wasmedge-tensorflow#steps-to-run

hydai commented 1 year ago

This issue was closed because it has been inactive.