-
Notifications
You must be signed in to change notification settings - Fork 452
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
Cannot build from source on RPi #902
Comments
Seems like boost::process requires C++17 in boost 1.77 :( |
Thanks! That worked. FWIW, reducing the buffer size was also successful. I got down to ~120ms before noticing any distortion. Using a USB mixer as an alsa input source, I can now connect instruments directly into Snapcast to play over all 30+ speakers in every room in the house with low enough latency that the people playing the music are able to cope ;) |
Purely out of interest, what does snapcast offer that the programs dedicated to this use case (super low latency streaming) don't? Programs like JamRTC, Sonobus, Jamulus etc? |
@kingosticks I really would like to research those more, but here's my use-case. I started with snapcast as a way to airplay to all the speakers in the house (5 zones, 30 speakers) via the |
@badaix we're currently patching snapcast downstream in Alpine Linux to build with C++ 17, https://git.alpinelinux.org/aports/commit/?id=0b05b6f18334. Any chance of supporting C++ 17 officially? |
C++ Standards are downward compatible. You can compile snapcast with c++14, c++17 and c++20. I always tried to not make use of newer standards, to keep the requirements on the compiler low, but the develop branch officially requires c++17, and so the next release (0.26) will need a c++17 capable compiler. |
Understood, thanks! When your deps require newer versions, you kinda have to follow along |
Describe the bug
I want to compile a snapserver from source so that I may decrease the hard-coded buffer floor (per #329 (comment)).
When I follow the instructions to do so, I seem to have problems with the boost headers. I've downloaded v1.77.0 and unzipped it, and executed the following build command:
ADD_CFLAGS="-I/home/pi/boost_1_77_0/" make
Environment details
The text was updated successfully, but these errors were encountered: