From 07696dbe89bf0068f6dfd0dd67ac4d8ac19500c2 Mon Sep 17 00:00:00 2001 From: Micah Spaier <85509021+JerryBerry12@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:58:02 -0500 Subject: [PATCH 1/2] Fix capitalization On Linux, this doesn't compile correctly because includes are case sensitive! --- screenshot_bot/ScreenshotBot.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/screenshot_bot/ScreenshotBot.cpp b/screenshot_bot/ScreenshotBot.cpp index ef1c54176..f41a8f017 100644 --- a/screenshot_bot/ScreenshotBot.cpp +++ b/screenshot_bot/ScreenshotBot.cpp @@ -6,9 +6,9 @@ Copyright Glare Technologies Limited 2025 - #include "../shared/Protocol.h" -#include +#include #include -#include +#include #include #include #include @@ -25,11 +25,11 @@ Copyright Glare Technologies Limited 2025 - #include -struct ScreenshotBotConfig -{ - std::string server_hostname; - std::string screenshot_bot_password; - std::string substrata_client_path; +struct ScreenshotBotConfig +{ + std::string server_hostname; + std::string screenshot_bot_password; + std::string substrata_client_path; }; @@ -52,7 +52,7 @@ int main(int argc, char* argv[]) { Clock::init(); Networking::init(); - PlatformUtils::ignoreUnixSignals(); + PlatformUtils::ignoreUnixSignals(); TLSSocket::initTLS(); const ScreenshotBotConfig config = parseScreenshotBotConfig(PlatformUtils::getAppDataDirectory("Cyberspace") + "/screenshot_bot_config.xml"); @@ -357,3 +357,4 @@ int main(int argc, char* argv[]) return 1; } } + From d61558228891c74cd05a74c085eb7f25ae37591e Mon Sep 17 00:00:00 2001 From: Micah Spaier <85509021+JerryBerry12@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:58:46 -0500 Subject: [PATCH 2/2] Update target_link_libraries to use PRIVATE scope Helps with building screenshot_bot on linux --- screenshot_bot/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/screenshot_bot/CMakeLists.txt b/screenshot_bot/CMakeLists.txt index 636604f2b..a4a852ab3 100644 --- a/screenshot_bot/CMakeLists.txt +++ b/screenshot_bot/CMakeLists.txt @@ -41,7 +41,9 @@ endif() target_link_libraries(${CURRENT_TARGET} -libs -${INDIGO_WIN32_LIBS} -${LINUX_LIBS} + PRIVATE + libs + ${INDIGO_WIN32_LIBS} + ${LINUX_LIBS} ) +