Skip to content

Conversation

@schrieveslaach
Copy link
Contributor

This commit makes the build environment portable with other Linux distros such as Arch Linux or more modern Debian versions.

Additionally, the commit provides some GitHub actions to test if the builds still work.

@schrieveslaach
Copy link
Contributor Author

schrieveslaach commented Apr 25, 2025

@greymfm, this is my second attempt to improve the distro compatibility (see first attempt: #164). I also tested with Ubuntu 18.04.

This commit makes the build environment portable with other Linux
distros such as Arch Linux or more modern Debian versions.

Additionally, the commit provides some GitHub actions to test if the
builds still work.
@schrieveslaach
Copy link
Contributor Author

schrieveslaach commented Jul 26, 2025

@greymfm, this PR also adds the ability to compile sunray for the the newest Rasperry PI OS (Bookworm). Without this commit I cannot link the sunray binary:

[100%] Linking CXX executable sunray
/usr/bin/ld: CMakeFiles/sunray.dir/src/BleUartServer.cpp.o: in function `BleUartServer::listen()':
/home/alfred/Sunray/alfred/src/BleUartServer.cpp:378: undefined reference to `ba2str'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/sunray.dir/build.make:1937: sunray] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/sunray.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
alfred@alfred:~/Sunray/alfred/build $

With this change, it just works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant