andrewrk / andrewrk/PyDaw

Cannot build package

Đang mở
#2 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
105
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.