3.13.1: Unable to build with ableton link 3.1.2
Author: dvzrvCreated Mar 16, 2025Updated Sep 9, 2026
Labelsbugcomp: 3rd party
The ableton link git submodule is set to a three year old version (https://github.com/Ableton/link/commit/a33d2c34997dc8679ba9092652dd52bffc0c7b04 - 3.0.6).
On Arch Linux we are building using the system provided abletonlink package (which is now at version 3.1.2). It looks like this is no longer compatible with supercollider and the build fails in many places.
Environment
- SuperCollider version: 3.13.1
- Operating system: Arch Linux
- Other details (Qt version, audio driver, etc.): 5.15.16+kde+r130-4
Steps to reproduce
Using as little code as possible, please provide an example that can be run and reproduces the bug.
Paste code here between the tick marks.
Expected vs. actual behavior
Successfully build supercollider with system provided ableton link.
[ 75%] Linking CXX executable buffer_manager_test
cd /build/supercollider/src/build/testsuite/server/supernova && /usr/bin/cmake -E cmake_link_script CMakeFiles/buffer_manager_test.dir/link.txt --verbose=1
In file included from /usr/include/ableton/discovery/UdpMessenger.hpp:23,
from /usr/include/ableton/discovery/PeerGateway.hpp:22,
from /usr/include/ableton/link/Gateway.hpp:22,
from /usr/include/ableton/link/Controller.hpp:24,
from /usr/include/ableton/platforms/Config.hpp:22,
from /usr/include/ableton/Link.hpp:25,
from /build/supercollider/src/SuperCollider-3.13.1-Source/lang/LangPrimSource/SC_LinkClock.hpp:14,
from /build/supercollider/src/SuperCollider-3.13.1-Source/lang/LangPrimSource/SC_LinkClock.cpp:3:
/usr/include/ableton/discovery/IpInterface.hpp: In function ‘ableton::discovery::UdpEndpoint ableton::discovery::multicastEndpointV4()’:
/usr/include/ableton/discovery/IpInterface.hpp:32:24: error: ‘from_string’ is not a member of ‘ableton::discovery::IpAddressV4’ {aka ‘link_asio_1_28_0::ip::address_v4’}
32 | return {IpAddressV4::from_string("224.76.78.75"), 20808};
| ^~~~~~~~~~~
/usr/include/ableton/discovery/IpInterface.hpp:32:58: error: could not convert ‘{<expression error>, 20808}’ from ‘<brace-enclosed initializer list>’ to ‘ableton::discovery::UdpEndpoint’ {aka
‘link_asio_1_28_0::ip::basic_endpoint<link_asio_1_28_0::ip::udp>’}
32 | return {IpAddressV4::from_string("224.76.78.75"), 20808};
| ^
| |
| <brace-enclosed initializer list>
In file included from /usr/include/ableton/link/PeerState.hpp:23,
from /usr/include/ableton/link/Measurement.hpp:24,
from /usr/include/ableton/link/MeasurementService.hpp:24,
from /usr/include/ableton/link/Gateway.hpp:23:
/usr/include/ableton/link/MeasurementEndpointV4.hpp: In function ‘uint32_t ableton::link::sizeInByteStream(MeasurementEndpointV4)’:
/usr/include/ableton/link/MeasurementEndpointV4.hpp:44:66: error: ‘class link_asio_1_28_0::ip::address_v4’ has no member named ‘to_ulong’
44 | static_cast<std::uint32_t>(mep.ep.address().to_v4().to_ulong()))
| ^~~~~~~~
/usr/include/ableton/link/MeasurementEndpointV4.hpp: In function ‘It ableton::link::toNetworkByteStream(MeasurementEndpointV4, It)’:
/usr/include/ableton/link/MeasurementEndpointV4.hpp:54:61: error: ‘class link_asio_1_28_0::ip::address_v4’ has no member named ‘to_ulong’
54 | static_cast<std::uint32_t>(mep.ep.address().to_v4().to_ulong()), std::move(out)));
| ^~~~~~~~
/usr/bin/make -f testsuite/server/supernova/CMakeFiles/timetag_test.dir/build.make testsuite/server/supernova/CMakeFiles/timetag_test.dir/dependSee full build log in attachment:
Source: supercollider/supercollider