diff --git a/.github/workflows/build-test-lin-container.yml b/.github/workflows/build-test-lin-container.yml index 53158fc99..ae36b4c8e 100644 --- a/.github/workflows/build-test-lin-container.yml +++ b/.github/workflows/build-test-lin-container.yml @@ -30,7 +30,7 @@ on: prep-cmd: type: string description: 'commands required to be run on a builder to prep it for build' - default: 'sudo apt-get update -qq && sudo apt-get -y install ca-certificates curl zip unzip tar autoconf automake autopoint build-essential flex git-core libass-dev libfreetype6-dev libgnutls28-dev libmp3lame-dev libsdl2-dev libtool libsoup-gnome2.4-dev libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libncurses5-dev libncursesw5-dev ninja-build pkg-config texinfo wget yasm zlib1g-dev nasm gperf bison python3 python3-pip dos2unix libx11-dev libgles2-mesa-dev && pip3 install meson' + default: 'sudo apt-get update -qq && sudo apt-get -y install ca-certificates curl zip unzip tar autoconf automake autopoint build-essential flex git-core libass-dev libfreetype6-dev libgnutls28-dev libmp3lame-dev libsdl2-dev libtool libsoup-gnome2.4-dev libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libncurses5-dev libncursesw5-dev ninja-build pkg-config texinfo wget yasm zlib1g-dev nasm gperf bison python3 python3-pip dos2unix libx11-dev libgles2-mesa-dev libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev && pip3 install meson && pip3 install Jinja2' required: false prep-check-cmd: type: string diff --git a/.github/workflows/build-test-lin.yml b/.github/workflows/build-test-lin.yml index 3098a0adb..e88caa6d8 100644 --- a/.github/workflows/build-test-lin.yml +++ b/.github/workflows/build-test-lin.yml @@ -30,7 +30,7 @@ on: prep-cmd: type: string description: 'commands required to be run on a builder to prep it for build' - default: 'sudo apt-get update -qq && sudo apt-get -y install ca-certificates curl zip unzip tar autoconf automake autopoint build-essential flex git-core libass-dev libfreetype6-dev libgnutls28-dev libmp3lame-dev libsdl2-dev libtool libsoup-gnome2.4-dev libva-dev libvdpau-dev libvorbis-dev libxdamage-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libncurses5-dev libncursesw5-dev ninja-build pkg-config texinfo wget yasm zlib1g-dev nasm gperf bison python3 python3-pip dos2unix libx11-dev libgles2-mesa-dev && pip3 install meson' + default: 'sudo apt-get update -qq && sudo apt-get -y install ca-certificates curl zip unzip tar autoconf automake autopoint build-essential flex git-core libass-dev libfreetype6-dev libgnutls28-dev libmp3lame-dev libsdl2-dev libtool libsoup-gnome2.4-dev libva-dev libvdpau-dev libvorbis-dev libxdamage-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev libncurses5-dev libncursesw5-dev ninja-build pkg-config texinfo wget yasm zlib1g-dev nasm gperf bison python3 python3-pip dos2unix libx11-dev libgles2-mesa-dev libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev && pip3 install meson && pip3 install Jinja2' required: false prep-check-cmd: type: string diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt index 3e570ec04..c18970aa4 100755 --- a/base/CMakeLists.txt +++ b/base/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.22) -OPTION(ENABLE_LINUX "Use this switch to enable LINUX" ON) +OPTION(ENABLE_LINUX "Use this switch to enable LINUX" OFF) OPTION(ENABLE_CUDA "Use this switch to enable CUDA" ON) OPTION(ENABLE_ARM64 "Use this switch to enable ARM64" OFF) -OPTION(ENABLE_WINDOWS "Use this switch to enable WINDOWS" OFF) +OPTION(ENABLE_WINDOWS "Use this switch to enable WINDOWS" ON) set(VCPKG_OVERLAY_PORTS "${CMAKE_CURRENT_SOURCE_DIR}/../thirdparty/custom-overlay") set(VCPKG_INSTALL_OPTIONS "--clean-after-build") IF(ENABLE_CUDA) @@ -42,7 +42,7 @@ find_package(JPEG REQUIRED) find_package(OpenCV CONFIG REQUIRED) find_package(BZip2 REQUIRED) find_package(ZLIB REQUIRED) -find_package(liblzma REQUIRED) +find_package(LibLZMA REQUIRED) find_package(FFMPEG REQUIRED) find_package(ZXing CONFIG REQUIRED) find_package(bigint CONFIG REQUIRED) diff --git a/base/include/Command.h b/base/include/Command.h index d892ce703..4bf1c9069 100644 --- a/base/include/Command.h +++ b/base/include/Command.h @@ -1,6 +1,8 @@ #pragma once #include "Utils.h" +#include "Logger.h" +#include "AIPExceptions.h" class Command { public: @@ -59,7 +61,7 @@ class NoneCommand : public Command { private: friend class boost::serialization::access; template - void serialize(Archive &ar, const unsigned int /* file_version */) { + void serialize(Archive &ar, const unsigned int version) { ar &boost::serialization::base_object(*this); } };