ERROR: could not determine kind of name for C

when i tried to compile module with static libs(С++) i got error:ERROR: could not determine kind of name for C…
How can i resolve it?

Just guessing, but is there perhaps a blank line between the comment block that contains the cgo preamble and the import “C” line?

(See e.g. this issue and the related section in the docs

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.