Closed paveloom closed 8 months ago
Thanks for the hint! I will try to look into it.
Unfortunately, it seems like MacOS 11 does not support std::bit_cast even with c++20 support being enabled and thus libremidi cannot be compiled. I am not sure how I could handle this without simply dropping support for the Midi condition and action type for this version of MacOS. So I don't think switching to libremidi version 4 is possible at the moment.
Just out of curiosity: Is there a particular feature added in libremidi version 4 which prompted you to create this issue?
I just have a pull request ready to Nixpkgs that will break this plugin when merged. It's okay if updating to the latest version of libremidi
is not possible at the moment.
Compiles fine with
libremidi
v3.0, but fails with v4.2.4:nix build -Lv .#obs-studio-plugins.advanced-scene-switcher
``` warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/izb4d8zj1qgpnxxqhm2awby11yihbmy5-advanced-scene-switcher-1.24.0.drv^*' @nix { "action": "setPhase", "phase": "qtPreHook" } qtPreHook @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/9iyw0l7phj20mlvwjwf0jamg5xpia7f3-source source root is source @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } configuring fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/share/doc/advanced-scene-switcher -DCMAKE_INSTALL_INFODIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin/ranlib -DCMAKE_AR=/nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/rdz3ymwgxh39mswm50x3r6lxwcndnazh-advanced-scene-switcher-1.24.0 -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_PROJECT_NAME is advanced-scene-switcher -- advanced-scene-switcher configured for out-of-tree build -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Qt version: 6 -- Found OpenGL: /nix/store/a39i17gd56l2s41j66djwz2r9yr905ja-libGL-1.7.0/lib/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /nix/store/z50cdic3kw9c0qnjyxwcx8qvv22xlgci-libxkbcommon-1.5.0/lib/libxkbcommon.so (Required is at least version "0.5.0") -- Found WrapVulkanHeaders: /nix/store/hg6l41qmw9pl5qi24lpvhyx65c1szaxa-vulkan-headers-1.3.268.0/include -- Found nlohmann_json: /nix/store/vd29gqs6fgqdrz95kx232az1xf905l58-nlohmann_json-3.11.2/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2") -- Found X11: /nix/store/nzw7krhdm0ijbfmskvqrzw9nabqygv18-xorgproto-2023.2/include found components: Xtst Xss -- Looking for XOpenDisplay in /nix/store/b7pb0mmcwjp973nj8gcaa2fnmqxckc8q-libX11-1.8.7/lib/libX11.so;/nix/store/qyyw5j9xn5mnjlv5f469h12clp4wdj7b-libXext-1.3.5/lib/libXext.so -- Looking for XOpenDisplay in /nix/store/b7pb0mmcwjp973nj8gcaa2fnmqxckc8q-libX11-1.8.7/lib/libX11.so;/nix/store/qyyw5j9xn5mnjlv5f469h12clp4wdj7b-libXext-1.3.5/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- advanced-scene-switcher using procps -- Found CURL: /nix/store/fs9zd6sa5akbvc4d46war0402lbwxh5n-curl-8.4.0/lib/libcurl.so (found version "8.4.0") CMake Warning at CMakeLists.txt:485 (find_package): By not providing "FindLibcurl.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Libcurl", but CMake did not find one. Could not find a package configuration file provided by "Libcurl" with any of the following names: LibcurlConfig.cmake libcurl-config.cmake Add the installation prefix of "Libcurl" to CMAKE_PREFIX_PATH or set "Libcurl_DIR" to a directory containing one of the above files. If "Libcurl" provides a separate development package or SDK, be sure it has been installed. -- Performing Test HAS_STD_JTHREAD -- Performing Test HAS_STD_JTHREAD - Success -- libremidi: Using std::vector for libremidi::message -- Found ALSA: /nix/store/4gassvc0bjajf1kzjrllp599z6acx2zn-alsa-lib-1.2.9/lib/libasound.so (found version "1.2.9") -- Looking for C++ include sys/eventfd.h -- Looking for C++ include sys/eventfd.h - found -- Looking for C++ include sys/timerfd.h -- Looking for C++ include sys/timerfd.h - found -- libremidi: using ALSA -- ADVSS: ENABLED PLUGIN advanced-scene-switcher-midi CMake Warning at src/macro-external/openvr/CMakeLists.txt:7 (message): OpenVR condition is only supported on Windows builds for now. CMake Warning at src/macro-external/twitch/CMakeLists.txt:9 (message): cpp-httplib directory "/build/source/deps/cpp-httplib" not found! Twitch support will be disabled! -- Found OpenCV: / (found version "4.7.0") CMake Warning at src/macro-external/video/CMakeLists.txt:19 (find_package): By not providing "FindLeptonica.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Leptonica", but CMake did not find one. Could not find a package configuration file provided by "Leptonica" with any of the following names: LeptonicaConfig.cmake leptonica-config.cmake Add the installation prefix of "Leptonica" to CMAKE_PREFIX_PATH or set "Leptonica_DIR" to a directory containing one of the above files. If "Leptonica" provides a separate development package or SDK, be sure it has been installed. CMake Warning at src/macro-external/video/CMakeLists.txt:20 (find_package): By not providing "FindTesseract.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Tesseract", but CMake did not find one. Could not find a package configuration file provided by "Tesseract" with any of the following names: TesseractConfig.cmake tesseract-config.cmake Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set "Tesseract_DIR" to a directory containing one of the above files. If "Tesseract" provides a separate development package or SDK, be sure it has been installed. CMake Warning at src/macro-external/video/CMakeLists.txt:33 (message): OCR capabilities of video condition disabled! Leptonica or Tesseract dependencies were not found! Sources are available under: /build/source/src/macro-external/video/../../../deps/ -- ADVSS: ENABLED PLUGIN advanced-scene-switcher-opencv -- Configuring done (9.2s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing @nix { "action": "setPhase", "phase": "buildPhase" } building build flags: -j16 SHELL=/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash [ 1%] Automatic MOC and UIC for target advanced-scene-switcher-lib [ 1%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/backends/emscripten/midi_access.cpp.o [ 1%] Building CXX object tests/CMakeFiles/advanced-scene-switcher-tests.dir/tests.cpp.o [ 2%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/backends/emscripten/midi_in.cpp.o [ 3%] Building CXX object tests/CMakeFiles/advanced-scene-switcher-tests.dir/__/src/utils/math-helpers.cpp.o [ 3%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/backends/emscripten/observer.cpp.o [ 3%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/backends/emscripten/midi_out.cpp.o [ 3%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/libremidi.cpp.o [ 5%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/client.cpp.o [ 5%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/midi_in.cpp.o [ 6%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/observer.cpp.o [ 6%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/reader.cpp.o [ 6%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/midi_out.cpp.o [ 7%] Building CXX object /build/source/deps/libremidi/build/CMakeFiles/libremidi.dir/include/libremidi/writer.cpp.o [ 8%] Linking CXX static library liblibremidi.a [ 8%] Built target libremidi [ 8%] Built target advanced-scene-switcher-lib_autogen [ 9%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/advanced-scene-switcher.cpp.o [ 9%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/general.cpp.o [ 10%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/hotkey.cpp.o [ 11%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/scene-trigger.cpp.o [ 11%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/advanced-scene-switcher-lib_autogen/mocs_compilation.cpp.o [ 12%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/scene-group.cpp.o [ 12%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/version.cpp.o [ 12%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-audio.cpp.o [ 12%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/status-control.cpp.o [ 13%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/switcher-data.cpp.o [ 14%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-executable.cpp.o [ 14%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-file.cpp.o [ 15%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-generic.cpp.o [ 15%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-idle.cpp.o [ 16%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-media.cpp.o [ 17%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-network.cpp.o [ 17%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-pause.cpp.o [ 18%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-random.cpp.o [ 18%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-screen-region.cpp.o [ 19%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-sequence.cpp.o [ 19%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-time.cpp.o [ 20%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-transitions.cpp.o [ 20%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-video.cpp.o [ 21%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/legacy/switch-window.cpp.o [ 22%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-audio.cpp.o [ 22%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-edit.cpp.o [ 23%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-file.cpp.o [ 23%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-filter.cpp.o [ 24%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-hotkey.cpp.o [ 24%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-http.cpp.o [ 25%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-macro.cpp.o [ 25%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-media.cpp.o [ 26%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-osc.cpp.o [ 27%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-plugin-state.cpp.o [ 27%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-profile.cpp.o [ 28%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-projector.cpp.o [ 28%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-random.cpp.o [ 29%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-recording.cpp.o [ 29%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-replay-buffer.cpp.o [ 30%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-run.cpp.o [ 31%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-collection.cpp.o [ 31%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-lock.cpp.o [ 32%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-order.cpp.o [ 32%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-switch.cpp.o [ 33%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-transform.cpp.o [ 33%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-scene-visibility.cpp.o [ 34%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-screenshot.cpp.o [ 34%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-sequence.cpp.o [ 35%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-source.cpp.o [ 36%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-streaming.cpp.o [ 36%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-studio-mode.cpp.o [ 37%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-systray.cpp.o [ 37%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-timer.cpp.o [ 38%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-transition.cpp.o [ 38%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-variable.cpp.o [ 39%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-virtual-cam.cpp.o [ 39%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-wait.cpp.o [ 40%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action-websocket.cpp.o [ 41%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-action.cpp.o [ 41%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-audio.cpp.o [ 42%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-cursor.cpp.o [ 42%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-date.cpp.o [ 43%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-display.cpp.o [ 43%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-edit.cpp.o [ 44%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-file.cpp.o [ 44%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-filter.cpp.o [ 45%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-hotkey.cpp.o [ 46%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-idle.cpp.o [ 46%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-macro.cpp.o [ 47%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-media.cpp.o [ 47%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-obs-stats.cpp.o [ 48%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-plugin-state.cpp.o [ 48%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-process.cpp.o [ 49%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-profile.cpp.o [ 50%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-recording.cpp.o [ 50%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-replay-buffer.cpp.o [ 51%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-run.cpp.o [ 51%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-scene-order.cpp.o [ 52%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-scene-transform.cpp.o [ 52%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-scene-visibility.cpp.o [ 53%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-slideshow.cpp.o [ 53%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-scene.cpp.o [ 54%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-source.cpp.o [ 55%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-streaming.cpp.o [ 55%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-studio-mode.cpp.o [ 56%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-tempvar.cpp.o [ 56%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-timer.cpp.o [ 57%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-transition.cpp.o [ 57%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-variable.cpp.o [ 58%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-virtual-cam.cpp.o [ 58%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-websocket.cpp.o [ 59%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition-window.cpp.o [ 60%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-condition.cpp.o [ 60%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-dock.cpp.o [ 61%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-properties.cpp.o [ 62%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-segment-list.cpp.o [ 61%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-ref.cpp.o [ 62%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-segment.cpp.o [ 63%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-selection.cpp.o [ 63%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-tab.cpp.o [ 64%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro-tree.cpp.o [ 65%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/src/macro-core/macro.cpp.o /build/source/src/macro-core/macro-segment.cpp: In member function 'std::optional