You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I tried building the python lib bindings/python from master, but that fails with multiple errors:
$ make
[ 7%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_internals.cpp.o
[ 15%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_func.cpp.o
[ 23%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_type.cpp.o
[ 30%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_enum.cpp.o
[ 38%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_ndarray.cpp.o
[ 46%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/nb_static_property.cpp.o
[ 53%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/common.cpp.o
[ 61%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/error.cpp.o
[ 69%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/trampoline.cpp.o
[ 76%] Building CXX object CMakeFiles/nanobind-static.dir/_deps/nanobind-src/src/implicit.cpp.o
[ 84%] Linking CXX static library libnanobind-static.a
[ 84%] Built target nanobind-static
[ 92%] Building CXX object CMakeFiles/pylibremidi.dir/pylibremidi.cpp.o
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:61:
In file included from /Users/pawel/clones/libremidi/include/libremidi/configurations.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/backends/alsa_raw/config.hpp:57:8: error: no template named 'span' in namespace 'std'
57 | std::span<poll_descriptors> fds;
| ~~~~~^
/Users/pawel/clones/libremidi/include/libremidi/backends/alsa_raw/config.hpp:58:30: error: no member named 'span' in namespace 'std'
58 | std::function<int64_t(std::span<poll_descriptors> fds)> callback;
| ~~~~~^
/Users/pawel/clones/libremidi/include/libremidi/backends/alsa_raw/config.hpp:58:35: error: unexpected type name 'poll_descriptors': expected expression
58 | std::function<int64_t(std::span<poll_descriptors> fds)> callback;
| ^
/Users/pawel/clones/libremidi/include/libremidi/backends/alsa_raw/config.hpp:58:53: error: invalid use of non-static data member 'fds'
58 | std::function<int64_t(std::span<poll_descriptors> fds)> callback;
| ^~~
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:76:17: error: no template named 'span' in namespace 'std'
76 | operator std::span<const unsigned char>() const noexcept { return {bytes.data(), bytes.size()}; }
| ~~~~~^
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:188:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
188 | return {make_command(message_type::NOTE_ON, channel), note, velocity};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:193:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
193 | return {make_command(message_type::NOTE_OFF, channel), note, velocity};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:198:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
198 | return {make_command(message_type::CONTROL_CHANGE, channel), control, value};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:203:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
203 | return {make_command(message_type::PROGRAM_CHANGE, channel), value};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:209:9: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
209 | make_command(message_type::PITCH_BEND, channel), static_cast<unsigned char>(value & 0x7F),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:215:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
215 | return {make_command(message_type::PITCH_BEND, channel), lsb, msb};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:220:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
220 | return {make_command(message_type::POLY_PRESSURE, channel), note, value};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:225:13: error: no viable conversion from 'uint8_t' (aka 'unsigned char') to 'midi_bytes' (aka 'vector<unsigned char>')
225 | return {make_command(message_type::AFTERTOUCH, channel), value};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:231:52: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
231 | static message end_of_track() noexcept { return {0xFF, 0x2F, 0}; }
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:235:13: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
235 | return {0xff, 0x20, 0x01, static_cast<uint8_t>(std::clamp(0, 0xff, channel - 1))};
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:241:9: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
241 | 0xff,
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:263:9: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
263 | 0xff,
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:281:9: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
281 | 0xff, 0x59, 0x02, static_cast<uint8_t>(keyIndex),
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
In file included from /Users/pawel/clones/libremidi/bindings/python/pylibremidi.cpp:1:
In file included from /Users/pawel/clones/libremidi/include/libremidi/libremidi.hpp:62:
In file included from /Users/pawel/clones/libremidi/include/libremidi/defaults.hpp:5:
In file included from /Users/pawel/clones/libremidi/include/libremidi/input_configuration.hpp:4:
/Users/pawel/clones/libremidi/include/libremidi/message.hpp:288:9: error: no viable conversion from 'int' to 'midi_bytes' (aka 'vector<unsigned char>')
288 | 0xf2, static_cast<uint8_t>(positionInBeats & 127),
| ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:503:55: note: candidate constructor not viable: no known conversion from 'int' to 'const vector<unsigned char> &' for 1st argument
503 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(const vector& __x);
| ^ ~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:509:55: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<unsigned char>') for 1st argument
509 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:520:55: note: candidate constructor not viable: no known conversion from 'int' to 'vector<unsigned char> &&' for 1st argument
520 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(vector&& __x)
| ^ ~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:417:64: note: explicit constructor is not a candidate
417 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/vector:425:64: note: explicit constructor is not a candidate
425 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
The text was updated successfully, but these errors were encountered:
Hi! I tried building the python lib
bindings/python
from master, but that fails with multiple errors:The text was updated successfully, but these errors were encountered: