Unable to compile my C Extension on Windows: unresolved external link errors

Marco Sulla Marco.Sulla.Python at gmail.com
Fri Nov 12 15:01:07 EST 2021


Chris? Maybe I'm dreaming X-D

On Fri, 12 Nov 2021 at 17:38, Chris Angelico <rosuav at gmail.com> wrote:
> Are you sure that you really need Py_BUILD_CORE?

Yes, because I need the internal functions of `dict`. So I need to
compile also dictobject.c and include it. So I need that flag.

This is the code:

https://github.com/Marco-Sulla/python-frozendict.git

On Linux and MacOS it works like a charme. On Windows, it seems it does not find
python3.lib. I also added its path to the PATH variable


More information about the Python-list mailing list