Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: could not determine kind of name for C.CStirng #31390
What version of Go are you using (
I can't recreate the problem. There are typos in your sample code; for example, you wrote
Apologies for typo.A small excerpt from the code.
I am trying to load an external library.The header file points to the match function.When I run 'go build main.go' it shows the following issue:
could not determine kind of name for C.CStirng
All the C dependencies reside in the abc folder.Do I need to zip the dependencies ?
$ go env