New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not detect jack if provided by pipewire-jack-audio-connection-kit-devel #5678
Comments
This is more of a packaging problem on fedora's side in regards to the jack library files though. supercollider/cmake_modules/FindJack.cmake Lines 43 to 56 in cea67fc
|
That being said: You can modify the |
Thanks, will try this. - Is SC not using the output of |
No. Pkgconfig integration has historically been a bit weird with cmake (although it has improved over the past years), which is why the custom FindJack.cmake exists (but probably shouldn't anymore by now). As a sidenote: There are also quite a few projects that do only rely on plain makefiles and attempt to link against libjack.so directly (using As background information: Pipewire's jack implementation is supposed to be able to replace jack properly, therefore it should also provide the jack libraries at the appropriate location. On Arch Linux we are also not there yet (and therefore do not provide or support pipewire providing the development files for jack). As soon as https://github.com/jackaudio/jack-example-tools has gotten a release (most likely this month), I plan on changing that though unless upstream thinks this is a bad idea. |
I think I can provide a PR to remove the current implementation and replace it with the builtin FindPkgConfig based implementation (as supercollider only supports cmake >= 3.12.0 anyways). |
@jwaldmann can you check whether #5680 improves this for you? |
configuration looks good:
compilation seems fine, linking gives an error
The libraries are present:
The command that was used for linking is
|
Ah, my bad. Should have used |
Works! |
thank you for handling this quickly, and for explaining related issues. |
You're welcome! Always happy to remove old code 😆 |
I've been having issues building SC against the Piprewire JACK headers on Fedora 35. I just tested #5680 and was able to run cmake and successfully build SC. Previously, I had used this workaround: |
ping. This didn't make it into the main branch? |
Hello @jwaldmann |
@jwaldmann yeah, I lost track of this. There was a small change still to be made (I think that is now done satisfactory) and should be good to go though! |
much appreciated. I can cherry-pick your commit 7297605 onto sc-3.13.0-rc1 and that seems to work but it's a bit of a hassle. |
[EDIT] not sure about the "bug" label. Still posting the issue in the hope that someone knows a work-around.
Environment
related: https://bugzilla.redhat.com/show_bug.cgi?id=1966869
Steps to reproduce
Expected vs. actual behavior
expected: build from source succeeds
actual:
The text was updated successfully, but these errors were encountered: