andrewrk / andrewrk/PyDaw

Cannot build package

Offen
#2 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
105
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I get the following errors on running `python setup build`

```
daw/FlpModule.cpp(19): error C3646: 'initflp': unknown override specifier
daw/FlpModule.cpp(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
daw/FlpModule.cpp(19): error C2059: syntax error: '('
daw/FlpModule.cpp(27): error C2078: too many initializers
daw/FlpModule.cpp(41): error C2440: 'initializing': cannot convert from 'const char [4]' to 'Py_ssize_t'
daw/FlpModule.cpp(41): note: There is no context in which this conversion is possible
daw/FlpModule.cpp(41): error C2440: 'initializing': cannot convert from 'destructor' to 'printfunc'
daw/FlpModule.cpp(41): note: This conversion requires a reinterpret_cast, a C-style cast or function-style cast
daw/FlpModule.cpp(41): error C2440: 'initializing': cannot convert from 'getattrfunc' to 'setattrfunc'
daw/FlpModule.cpp(41): note: This conversion requires a reinterpret_cast, a C-style cast or function-style cast
daw/FlpModule.cpp(41): error C2440: 'initializing': cannot convert from 'setattrfunc' to 'PyAsyncMethods *'
daw/FlpModule.cpp(41): note: There is no context in which this conversion is possible
daw/FlpModule.cpp(205): error C3861: 'Py_FindMethod': identifier not found
daw/FlpModule.cpp(264): error C3646: 'initflp': unknown override specifier
daw/FlpModule.cpp(264): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
daw/FlpModule.cpp(264): error C2084: function 'int DL_EXPORT(void)' already has a body
daw/FlpModule.cpp(19): note: see previous definition of 'DL_EXPORT'
daw/FlpModule.cpp(264): error C2059: syntax error: '('
daw/FlpModule.cpp(265): error C2143: syntax error: missing ';' before '{'
daw/FlpModule.cpp(265): error C2447: '{': missing function header (old-style formal list?)
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
```

Any fix for this?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.