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

编译不通过,undefined reference #2

Open
zenghaicang opened this issue Mar 31, 2021 · 1 comment
Open

编译不通过,undefined reference #2

zenghaicang opened this issue Mar 31, 2021 · 1 comment

Comments

@zenghaicang
Copy link

我用windows10 64bit, pyhont3.8.8 , mingw 64 gcc9.2.0
编译提示出错
H:\awtk-python/src/c/main.c:43: undefined reference to __imp_PyRun_SimpleStringFlags' H:\awtk-python/src/c/main.c:55: undefined reference to __imp_PyMem_RawFree'

请问如何解决?
image

@xianjimli
Copy link
Member

mingw不行。可能python3提供的库不支持mingw,用vs编译吧。

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

2 participants