rogchap / v8go

Execute JavaScript from Go

Home Page:https://rogchap.com/v8go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined: v8.NewContext

dream2333 opened this issue · comments

commented

I'm using win11+wsl2+ ubuntu22.4, I don't know why the library functions don't seem to be imported
image
image

Do you have build-essentials/gcc installed (for cgo)?

For my case, after executing "go env -w CGO_ENABLED='1'" it worked