Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Build wheels for Windows #77

Closed
wants to merge 1 commit into from
Closed

Build wheels for Windows #77

wants to merge 1 commit into from

Conversation

McSinyx
Copy link
Owner

@McSinyx McSinyx commented Apr 20, 2020

Has something to do with the Cython warning:

src\palace.cpp(1026): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(1027): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(4770): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(4771): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(4778): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(4785): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(5140): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(5141): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(5148): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(5155): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(12167): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(12168): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(12176): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(12183): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(12950): error C3431: 'DistanceModel': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(15590): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(15682): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(21083): error C3431: 'Spatialize': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(21086): error C3431: 'Spatialize': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29480): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29481): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29485): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29520): error C3431: 'ChannelConfig': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29534): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29535): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29539): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration
src\palace.cpp(29574): error C3431: 'SampleType': a scoped enumeration cannot be redeclared as an unscoped enumeration

@McSinyx McSinyx changed the title Try building dependencies for Windows Build wheels for Windows Apr 21, 2020
@McSinyx McSinyx linked an issue Apr 21, 2020 that may be closed by this pull request
@McSinyx
Copy link
Owner Author

McSinyx commented Apr 22, 2020

Closing in favor of GH-72, also because I don't think I can fix MSVC compatibility any time soon 😞

@Huy-Ngo
Copy link
Collaborator

Huy-Ngo commented Apr 27, 2020

Hmm does it have to be MSVC? Can we use mingw-gcc instead?

@McSinyx
Copy link
Owner Author

McSinyx commented Apr 27, 2020

Unfortunately, the compiler used for CPython and that for the extension must match, so we'll have to use MSVC.

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

Successfully merging this pull request may close these issues.

2 participants