Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on windows #8

Open
54huige opened this issue Dec 12, 2020 · 0 comments
Open

build error on windows #8

54huige opened this issue Dec 12, 2020 · 0 comments

Comments

@54huige
Copy link

54huige commented Dec 12, 2020

github.com/afitz/golua/lua51

In file included from _cgo_export.c:4:
cgo-gcc-export-header-prolog:32:38: error: conflicting types for 'GoInterface'
In file included from lua.go:4,
from _cgo_export.c:4:
G:\����֪ʶѧϰ\golang\pkg\mod\github.com\afitz\[email protected]\lua51/golua.h:2:38: note: previous declaration of 'GoInterface' was here
typedef struct { void *t; void *v; } GoInterface;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant