LinkUGen
LinkUGen copied to clipboard
Compiling Problems
For some reason, I got the following error message when trying to compile this UGen:
/Users/username/Desktop/Ableton Link/link/include/ableton/platforms/asio/AsioWrapper.hpp:78:10: fatal error: 'asio.hpp' file not found
#include <asio.hpp>
^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/Link.dir/Link.cpp.o] Error 1
make[1]: *** [CMakeFiles/Link.dir/all] Error 2
make: *** [all] Error 2
I created a directory on my desktop and git-cloned LinkUGen, SuperCollider and Ableton Link. After that I ran the following code and got the error mentioned above:
export SC3_SRC="/Users/username/Desktop/Ableton Link/supercollider"
export LINK_SRC="/Users/username/Desktop/Ableton Link/link"
cmake .
make
Any help would be highly appreciated!
macOS 14.3.1, Apple Silicon
Perhaps this repo's readme should be updated.
I believe you can achieve what this repro provides natively in SuperCollider now, though not quite in the same way.
See the "LinkClock" docs in SuperCollider. Does that help?
What are you trying to achieve, more broadly, does LinkClock do the trick?
Regarding your compile issue, can you compile the Ableton Link examples?
LinkClock in SuperCollider runs on sclang. but This LinkUGen runs on server(scsynth). I will check the compile problem soon!
Perhaps this repo's readme should be updated.
I believe you can achieve what this repro provides natively in SuperCollider now, though not quite in the same way.
See the "LinkClock" docs in SuperCollider. Does that help?
What are you trying to achieve, more broadly, does LinkClock do the trick?
I was trying to send MIDI from Ableton to SuperCollider, but now achieved this through the macOS-internal IAC-Driver...
Regarding your compile issue, can you compile the Ableton Link examples?
You mean the code in LinkClock's helpfile? If so, yes – they are all running fine.
Nevertheless, I would still be interested in trying out LinkUGen...
You mean the code in LinkClock's helpfile? If so, yes – they are all running fine.
ah, no I meant the examples here, in the Ableton Link project:
https://github.com/Ableton/link?tab=readme-ov-file#building-and-running-link-examples
I try build with recently ableton link and It's work without problem. It tested on macOS 14.3.1, Apple Silicon too.
Have you also updated the submodule of Ableton Link?
In the cloned link folder i executed
git submodule update --init --recursive
as well as
mkdir build
cd build
cmake ..
cmake --build .
which was all success. I then retried the steps I mentioned in my first post but I still got the same error:
/Users/username/Desktop/Ableton Link/link/include/ableton/platforms/asio/AsioWrapper.hpp:78:10: fatal error: 'asio.hpp' file not found
#include <asio.hpp>
^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/Link.dir/Link.cpp.o] Error 1
make[1]: *** [CMakeFiles/Link.dir/all] Error 2
make: *** [all] Error 2