Skip to content
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

SDL doesn't open a window when compiled with vcpkg #34457

Closed
gojzdar opened this issue Oct 12, 2023 · 9 comments
Closed

SDL doesn't open a window when compiled with vcpkg #34457

gojzdar opened this issue Oct 12, 2023 · 9 comments
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support Stale

Comments

@gojzdar
Copy link

gojzdar commented Oct 12, 2023

Describe the bug
Programs built with SDL2 open no window when built with SDL but have no such issue when I build it from source, either from the SDL2 or 3 branches.

Environment
OS: Kubuntu 23.04, x64
DE: KDE X11 / KDE Wayland / XFCE (tried on all of them)
DM: SDDM

To Reproduce
Steps to reproduce the behavior:

  1. build the docker images in the Additional context section
  2. run them
  3. compile any program with them
  4. run the program outside of the docker compilation toolchain

Expected behavior
A window to open when project is compiled and run.

Failure logs
N/A, quiet error.

Additional context
I have asked this question on the SDL repo. I thought it was an SDL problem, but appears to be an issue with vcpkg and or apt package store. I have listed my entire compilation process there.

The only change is to the docker image files.

FROM ubuntu

# Install essential build tools

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
    build-essential \
    cmake \
    git \
    curl \
    zip unzip tar \
    && rm -rf /var/lib/apt/lists/*

# Install Vcpkg
RUN git clone https://github.com/microsoft/vcpkg.git /app/vcpkg
WORKDIR /app/vcpkg
ENV VCPKG_DISABLE_METRICS=true
RUN ./bootstrap-vcpkg.sh
ENV PATH="/app/vcpkg:$PATH"

RUN apt-get update
WORKDIR /app/workdir
CMD ["bash"]
FROM vcpkg-base:1.0
RUN apt-get update && apt-get install pkg-config libasound2-dev zlib1g-dev libpng-dev libfreetype6-dev -y
RUN vcpkg install freetype zlib libpng imgui[sdl2-binding] imgui[sdl2-renderer-binding] dbg-macro sdl2 sdl2-image sdl2-mixer sdl2-ttf
WORKDIR /app/workdir
CMD ["bash"]

build command:
cmake -B build -S latest/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCPPFILENAME=$(f) -DCMAKE_TOOLCHAIN_FILE=/app/vcpkg/scripts/buildsystems/vcpkg.cmake

Cmake file

cmake_minimum_required(VERSION 3.16.0)

set(CMAKE_CXX_STANDARD 20)

project(myProject)


SET(ADDITIONAL_COMPILER_FLAGS "-g")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}")

add_executable(${PROJECT_NAME} main.cpp )

find_package(SDL2 REQUIRED)
find_package(SDL2_image REQUIRED)
find_package(SDL2_ttf REQUIRED)
find_package(SDL2_mixer REQUIRED)

target_include_directories(${PROJECT_NAME} 
PRIVATE 
	PRIVATE ../inc
	PRIVATE /app/vcpkg/installed/x64-linux/include/	
)

target_link_libraries(${PROJECT_NAME} PRIVATE
	SDL2::SDL2main
	SDL2::SDL2-static
	SDL2_image::SDL2_image-static
	SDL2_ttf::SDL2_ttf-static
	SDL2_mixer::SDL2_mixer-static
)

One of the dozens of programs I tried compiling without success.

#include <stdio.h>
#include <SDL2/SDL.h>

int main(int argc, char** argv)
{

        puts("Started program!\n");
    if (SDL_Init(SDL_INIT_VIDEO) != 0 )
    {
        fprintf(stdout,"Failed to initialize the SDL (%s)\n",SDL_GetError());
        return -1;
    }

    {
        SDL_Window* pWindow = NULL;
                auto fgs = SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_ALWAYS_ON_TOP;
        pWindow = SDL_CreateWindow("My first SDL2 application",SDL_WINDOWPOS_UNDEFINED,
                                                                  SDL_WINDOWPOS_UNDEFINED,
                                                                  643,
                                                                  900,
                                                                  fgs);

                SDL_Renderer *pRenderer = SDL_CreateRenderer(pWindow, -1, 0);

        if( pWindow )
        {
                        for(int i = 0; i < 100; i++) {


                                SDL_Event event;
                                while(SDL_PollEvent(&event)) {
                                        // do nothing
                                        switch(event.type) {
                                                case SDL_QUIT:
                                                i = 1000;
                                                break;
                                        }
                                }
                                SDL_RenderPresent(pRenderer);
                                SDL_Delay(100);
                        }

            SDL_DestroyWindow(pWindow);
        }
        else
        {
            fprintf(stderr,"Error creating the window: %s\n",SDL_GetError());
        }
    }

    SDL_Quit();

    return 0;
}
@FrankXie05
Copy link
Contributor

@gojzdar Could you please add this set(CMAKE_FIND_DEBUG_MODE 1) to your CMakeLists.txt?
I want to see what sdl2 cmake files your project is looking for.

@FrankXie05 FrankXie05 added the requires:more-information This Issue requires more information to solve label Oct 13, 2023
@FrankXie05
Copy link
Contributor

BTW, does this error also occur in your native system (outside docker)? Like windows.

@gojzdar
Copy link
Author

gojzdar commented Oct 14, 2023

@FrankXie05 I tried compiling it with the APT package manager's sdl2-dev package and I had the same problem, until I built SDL2 from source and installed it through cmake --install. I also had the same problem with SDL2pp and vcpkg without docker a few months ago but it seemed to fix itself after a week or so, but at the time I just thought it was SDL2pp being weird.

The output of:

set(CMAKE_FIND_DEBUG_MODE 1)

get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
    message(STATUS "${_variableName}=${${_variableName}}")
endforeach()

Is:

 -DCMAKE_TOOLCHAIN_FILE=/app/vcpkg/scripts/buildsystems/vcpkg.cmake
-- ADDITIONAL_COMPILER_FLAGS=-g
-- ALSA_FOUND=TRUE
-- ALSA_INCLUDE_DIR=/usr/include
-- ALSA_INCLUDE_DIRS=/usr/include
-- ALSA_LIBRARIES=/usr/lib/x86_64-linux-gnu/libasound.so
-- ALSA_LIBRARY=/usr/lib/x86_64-linux-gnu/libasound.so
-- ALSA_VERSION_STRING=1.2.6.1
-- BROTLICOMMON_FOUND=TRUE
-- BROTLICOMMON_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlicommon.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlicommon.a
-- BROTLICOMMON_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlicommon.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlicommon.a
-- BROTLICOMMON_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libbrotlicommon.a
-- BROTLICOMMON_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libbrotlicommon.a
-- BROTLIDEC_FOUND=TRUE
-- BROTLIDEC_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlidec.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlidec.a
-- BROTLIDEC_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlidec.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlidec.a
-- BROTLIDEC_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libbrotlidec.a
-- BROTLIDEC_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libbrotlidec.a
-- BZIP2_FOUND=TRUE
-- BZIP2_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include
-- BZIP2_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include
-- BZIP2_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libbz2.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbz2d.a
-- BZIP2_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libbz2.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbz2d.a
-- BZIP2_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libbz2d.a
-- BZIP2_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libbz2.a
-- BZIP2_NEED_PREFIX=1
-- BZIP2_VERSION_STRING=1.0.8
-- BZLIB_H=   bzip2/libbzip2 version 1.0.8 of 13 July 2019
-- BZip2_FOUND=TRUE
-- CMAKE_ADDR2LINE=/usr/bin/addr2line
-- CMAKE_AR=/usr/bin/ar
-- CMAKE_AR=/usr/bin/ar
-- CMAKE_AUTOGEN_ORIGIN_DEPENDS=ON
-- CMAKE_AUTOMOC_COMPILER_PREDEFINES=ON
-- CMAKE_AUTOMOC_MACRO_NAMES=Q_OBJECT;Q_GADGET;Q_NAMESPACE;Q_NAMESPACE_EXPORT
-- CMAKE_AUTOMOC_PATH_PREFIX=OFF
-- CMAKE_BASE_NAME=g++
-- CMAKE_BINARY_DIR=/app/workdir/build
-- CMAKE_BUILD_TOOL=/usr/bin/gmake
-- CMAKE_BUILD_TYPE=Debug
-- CMAKE_C11_COMPILE_FEATURES=c_std_11;c_static_assert
-- CMAKE_C11_EXTENSION_COMPILE_OPTION=-std=gnu11
-- CMAKE_C11_STANDARD_COMPILE_OPTION=-std=c11
-- CMAKE_C11_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_C17_COMPILE_FEATURES=c_std_17
-- CMAKE_C17_EXTENSION_COMPILE_OPTION=-std=gnu17
-- CMAKE_C17_STANDARD_COMPILE_OPTION=-std=c17
-- CMAKE_C23_COMPILE_FEATURES=c_std_23
-- CMAKE_C23_EXTENSION_COMPILE_OPTION=-std=gnu2x
-- CMAKE_C23_STANDARD_COMPILE_OPTION=-std=c2x
-- CMAKE_C90_COMPILE_FEATURES=c_std_90;c_function_prototypes
-- CMAKE_C90_EXTENSION_COMPILE_OPTION=-std=gnu90
-- CMAKE_C90_STANDARD_COMPILE_OPTION=-std=c90
-- CMAKE_C90_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_C99_COMPILE_FEATURES=c_std_99;c_restrict;c_variadic_macros
-- CMAKE_C99_EXTENSION_COMPILE_OPTION=-std=gnu99
-- CMAKE_C99_STANDARD_COMPILE_OPTION=-std=c99
-- CMAKE_C99_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_CACHEFILE_DIR=/app/workdir/build
-- CMAKE_CACHE_MAJOR_VERSION=3
-- CMAKE_CACHE_MINOR_VERSION=22
-- CMAKE_CACHE_PATCH_VERSION=1
-- CMAKE_CFG_INTDIR=.
-- CMAKE_COLOR_MAKEFILE=ON
-- CMAKE_COMMAND=/usr/bin/cmake
-- CMAKE_COMPILER_IS_GNUCC=1
-- CMAKE_COMPILER_IS_GNUCXX=1
-- CMAKE_CPACK_COMMAND=/usr/bin/cpack
-- CMAKE_CROSSCOMPILING=FALSE
-- CMAKE_CTEST_COMMAND=/usr/bin/ctest
-- CMAKE_CURRENT_BINARY_DIR=/app/workdir/build
-- CMAKE_CURRENT_LIST_DIR=/app/workdir/latest/src
-- CMAKE_CURRENT_LIST_FILE=/app/workdir/latest/src/CMakeLists.txt
-- CMAKE_CURRENT_SOURCE_DIR=/app/workdir/latest/src
-- CMAKE_CXX11_COMPILE_FEATURES=cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates
-- CMAKE_CXX11_EXTENSION_COMPILE_OPTION=-std=gnu++11
-- CMAKE_CXX11_STANDARD_COMPILE_OPTION=-std=c++11
-- CMAKE_CXX11_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_CXX14_COMPILE_FEATURES=cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates
-- CMAKE_CXX14_EXTENSION_COMPILE_OPTION=-std=gnu++14
-- CMAKE_CXX14_STANDARD_COMPILE_OPTION=-std=c++14
-- CMAKE_CXX14_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_CXX17_COMPILE_FEATURES=cxx_std_17
-- CMAKE_CXX17_EXTENSION_COMPILE_OPTION=-std=gnu++17
-- CMAKE_CXX17_STANDARD_COMPILE_OPTION=-std=c++17
-- CMAKE_CXX20_COMPILE_FEATURES=cxx_std_20
-- CMAKE_CXX20_EXTENSION_COMPILE_OPTION=-std=gnu++20
-- CMAKE_CXX20_STANDARD_COMPILE_OPTION=-std=c++20
-- CMAKE_CXX23_COMPILE_FEATURES=cxx_std_23
-- CMAKE_CXX23_EXTENSION_COMPILE_OPTION=-std=gnu++23
-- CMAKE_CXX23_STANDARD_COMPILE_OPTION=-std=c++23
-- CMAKE_CXX98_COMPILE_FEATURES=cxx_std_98;cxx_template_template_parameters
-- CMAKE_CXX98_EXTENSION_COMPILE_OPTION=-std=gnu++98
-- CMAKE_CXX98_STANDARD_COMPILE_OPTION=-std=c++98
-- CMAKE_CXX98_STANDARD__HAS_FULL_SUPPORT=ON
-- CMAKE_CXX_ABI_COMPILED=TRUE
-- CMAKE_CXX_ARCHIVE_APPEND=<CMAKE_AR> q <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_CXX_ARCHIVE_APPEND_IPO="/usr/bin/gcc-ar-11" r <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_CXX_ARCHIVE_CREATE=<CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_CXX_ARCHIVE_CREATE_IPO="/usr/bin/gcc-ar-11" cr <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_CXX_ARCHIVE_FINISH=<CMAKE_RANLIB> <TARGET>
-- CMAKE_CXX_ARCHIVE_FINISH_IPO="/usr/bin/gcc-ranlib-11" <TARGET>
-- CMAKE_CXX_BYTE_ORDER=LITTLE_ENDIAN
-- CMAKE_CXX_CL_SHOWINCLUDES_PREFIX=
-- CMAKE_CXX_COMPILER=/usr/bin/c++
-- CMAKE_CXX_COMPILER=/usr/bin/c++
-- CMAKE_CXX_COMPILER_ABI=ELF
-- CMAKE_CXX_COMPILER_AR=/usr/bin/gcc-ar-11
-- CMAKE_CXX_COMPILER_AR=/usr/bin/gcc-ar-11
-- CMAKE_CXX_COMPILER_ARG1=
-- CMAKE_CXX_COMPILER_ENV_VAR=CXX
-- CMAKE_CXX_COMPILER_FRONTEND_VARIANT=
-- CMAKE_CXX_COMPILER_ID=GNU
-- CMAKE_CXX_COMPILER_ID_RUN=1
-- CMAKE_CXX_COMPILER_LOADED=1
-- CMAKE_CXX_COMPILER_PREDEFINES_COMMAND=/usr/bin/c++;-dM;-E;-c;/usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
-- CMAKE_CXX_COMPILER_RANLIB=/usr/bin/gcc-ranlib-11
-- CMAKE_CXX_COMPILER_RANLIB=/usr/bin/gcc-ranlib-11
-- CMAKE_CXX_COMPILER_VERSION=11.4.0
-- CMAKE_CXX_COMPILER_VERSION_INTERNAL=
-- CMAKE_CXX_COMPILER_WORKS=TRUE
-- CMAKE_CXX_COMPILER_WRAPPER=
-- CMAKE_CXX_COMPILE_FEATURES=cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23
-- CMAKE_CXX_COMPILE_OBJECT=<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>
-- CMAKE_CXX_COMPILE_OPTIONS_CREATE_PCH=-x;c++-header;-include;<PCH_HEADER>
-- CMAKE_CXX_COMPILE_OPTIONS_EXPLICIT_LANGUAGE=-x;c++
-- CMAKE_CXX_COMPILE_OPTIONS_INVALID_PCH=-Winvalid-pch
-- CMAKE_CXX_COMPILE_OPTIONS_IPO=-flto;-fno-fat-lto-objects
-- CMAKE_CXX_COMPILE_OPTIONS_PIC=-fPIC
-- CMAKE_CXX_COMPILE_OPTIONS_PIE=-fPIE
-- CMAKE_CXX_COMPILE_OPTIONS_SYSROOT=--sysroot=
-- CMAKE_CXX_COMPILE_OPTIONS_USE_PCH=-include;<PCH_HEADER>
-- CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY=-fvisibility=
-- CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN=-fvisibility-inlines-hidden
-- CMAKE_CXX_CREATE_ASSEMBLY_SOURCE=<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>
-- CMAKE_CXX_CREATE_PREPROCESSED_SOURCE=<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>
-- CMAKE_CXX_CREATE_SHARED_LIBRARY=<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>
-- CMAKE_CXX_CREATE_SHARED_MODULE=<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>
-- CMAKE_CXX_DEPENDS_USE_COMPILER=TRUE
-- CMAKE_CXX_DEPFILE_FORMAT=gcc
-- CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT=ON
-- CMAKE_CXX_EXTENSIONS_DEFAULT=ON
-- CMAKE_CXX_FLAGS= -g
-- CMAKE_CXX_FLAGS= -g
-- CMAKE_CXX_FLAGS_DEBUG=-g
-- CMAKE_CXX_FLAGS_DEBUG_INIT= -g
-- CMAKE_CXX_FLAGS_INIT=  
-- CMAKE_CXX_FLAGS_MINSIZEREL=-Os -DNDEBUG
-- CMAKE_CXX_FLAGS_MINSIZEREL_INIT= -Os -DNDEBUG
-- CMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
-- CMAKE_CXX_FLAGS_RELEASE_INIT= -O3 -DNDEBUG
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT= -O2 -g -DNDEBUG
-- CMAKE_CXX_IGNORE_EXTENSIONS=inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC
-- CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include
-- CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES=/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES=
-- CMAKE_CXX_IMPLICIT_LINK_LIBRARIES=stdc++;m;gcc_s;gcc;c;gcc_s;gcc
-- CMAKE_CXX_INFORMATION_LOADED=1
-- CMAKE_CXX_LIBRARY_ARCHITECTURE=x86_64-linux-gnu
-- CMAKE_CXX_LINKER_PREFERENCE=30
-- CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES=1
-- CMAKE_CXX_LINKER_WRAPPER_FLAG=-Wl,
-- CMAKE_CXX_LINKER_WRAPPER_FLAG_SEP=,
-- CMAKE_CXX_LINK_EXECUTABLE=<CMAKE_CXX_COMPILER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>
-- CMAKE_CXX_LINK_OPTIONS_NO_PIE=-no-pie
-- CMAKE_CXX_LINK_OPTIONS_PIE=-fPIE;-pie
-- CMAKE_CXX_LINK_WHAT_YOU_USE_FLAG=LINKER:--no-as-needed
-- CMAKE_CXX_OUTPUT_EXTENSION=.o
-- CMAKE_CXX_PLATFORM_ID=Linux
-- CMAKE_CXX_SIMULATE_ID=
-- CMAKE_CXX_SIMULATE_VERSION=
-- CMAKE_CXX_SIZEOF_DATA_PTR=8
-- CMAKE_CXX_SOURCE_FILE_EXTENSIONS=C;M;c++;cc;cpp;cxx;mm;mpp;CPP;ixx;cppm
-- CMAKE_CXX_STANDARD=20
-- CMAKE_CXX_STANDARD_COMPUTED_DEFAULT=17
-- CMAKE_CXX_STANDARD_DEFAULT=17
-- CMAKE_CXX_VERBOSE_FLAG=-v
-- CMAKE_C_ABI_COMPILED=TRUE
-- CMAKE_C_ARCHIVE_APPEND=<CMAKE_AR> q <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_C_ARCHIVE_APPEND_IPO="/usr/bin/gcc-ar-11" r <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_C_ARCHIVE_CREATE=<CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_C_ARCHIVE_CREATE_IPO="/usr/bin/gcc-ar-11" cr <TARGET> <LINK_FLAGS> <OBJECTS>
-- CMAKE_C_ARCHIVE_FINISH=<CMAKE_RANLIB> <TARGET>
-- CMAKE_C_ARCHIVE_FINISH_IPO="/usr/bin/gcc-ranlib-11" <TARGET>
-- CMAKE_C_BYTE_ORDER=LITTLE_ENDIAN
-- CMAKE_C_CL_SHOWINCLUDES_PREFIX=
-- CMAKE_C_COMPILER=/usr/bin/cc
-- CMAKE_C_COMPILER=/usr/bin/cc
-- CMAKE_C_COMPILER_ABI=ELF
-- CMAKE_C_COMPILER_AR=/usr/bin/gcc-ar-11
-- CMAKE_C_COMPILER_AR=/usr/bin/gcc-ar-11
-- CMAKE_C_COMPILER_ARG1=
-- CMAKE_C_COMPILER_ENV_VAR=CC
-- CMAKE_C_COMPILER_FRONTEND_VARIANT=
-- CMAKE_C_COMPILER_ID=GNU
-- CMAKE_C_COMPILER_ID_RUN=1
-- CMAKE_C_COMPILER_LOADED=1
-- CMAKE_C_COMPILER_PREDEFINES_COMMAND=/usr/bin/cc;-dM;-E;-c;/usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
-- CMAKE_C_COMPILER_RANLIB=/usr/bin/gcc-ranlib-11
-- CMAKE_C_COMPILER_RANLIB=/usr/bin/gcc-ranlib-11
-- CMAKE_C_COMPILER_VERSION=11.4.0
-- CMAKE_C_COMPILER_VERSION_INTERNAL=
-- CMAKE_C_COMPILER_WORKS=TRUE
-- CMAKE_C_COMPILER_WRAPPER=
-- CMAKE_C_COMPILE_FEATURES=c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23
-- CMAKE_C_COMPILE_OBJECT=<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>
-- CMAKE_C_COMPILE_OPTIONS_CREATE_PCH=-x;c-header;-include;<PCH_HEADER>
-- CMAKE_C_COMPILE_OPTIONS_EXPLICIT_LANGUAGE=-x;c
-- CMAKE_C_COMPILE_OPTIONS_INVALID_PCH=-Winvalid-pch
-- CMAKE_C_COMPILE_OPTIONS_IPO=-flto;-fno-fat-lto-objects
-- CMAKE_C_COMPILE_OPTIONS_PIC=-fPIC
-- CMAKE_C_COMPILE_OPTIONS_PIE=-fPIE
-- CMAKE_C_COMPILE_OPTIONS_SYSROOT=--sysroot=
-- CMAKE_C_COMPILE_OPTIONS_USE_PCH=-include;<PCH_HEADER>
-- CMAKE_C_COMPILE_OPTIONS_VISIBILITY=-fvisibility=
-- CMAKE_C_CREATE_ASSEMBLY_SOURCE=<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>
-- CMAKE_C_CREATE_PREPROCESSED_SOURCE=<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>
-- CMAKE_C_CREATE_SHARED_LIBRARY=<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>
-- CMAKE_C_CREATE_SHARED_MODULE=<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>
-- CMAKE_C_DEPENDS_USE_COMPILER=TRUE
-- CMAKE_C_DEPFILE_FORMAT=gcc
-- CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT=ON
-- CMAKE_C_EXTENSIONS_DEFAULT=ON
-- CMAKE_C_FLAGS=
-- CMAKE_C_FLAGS=
-- CMAKE_C_FLAGS_DEBUG=-g
-- CMAKE_C_FLAGS_DEBUG_INIT= -g
-- CMAKE_C_FLAGS_INIT=  
-- CMAKE_C_FLAGS_MINSIZEREL=-Os -DNDEBUG
-- CMAKE_C_FLAGS_MINSIZEREL_INIT= -Os -DNDEBUG
-- CMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
-- CMAKE_C_FLAGS_RELEASE_INIT= -O3 -DNDEBUG
-- CMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-- CMAKE_C_FLAGS_RELWITHDEBINFO_INIT= -O2 -g -DNDEBUG
-- CMAKE_C_IGNORE_EXTENSIONS=h;H;o;O;obj;OBJ;def;DEF;rc;RC
-- CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES=/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include
-- CMAKE_C_IMPLICIT_LINK_DIRECTORIES=/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES=
-- CMAKE_C_IMPLICIT_LINK_LIBRARIES=gcc;gcc_s;c;gcc;gcc_s
-- CMAKE_C_INFORMATION_LOADED=1
-- CMAKE_C_LIBRARY_ARCHITECTURE=x86_64-linux-gnu
-- CMAKE_C_LINKER_PREFERENCE=10
-- CMAKE_C_LINKER_WRAPPER_FLAG=-Wl,
-- CMAKE_C_LINKER_WRAPPER_FLAG_SEP=,
-- CMAKE_C_LINK_EXECUTABLE=<CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>
-- CMAKE_C_LINK_OPTIONS_NO_PIE=-no-pie
-- CMAKE_C_LINK_OPTIONS_PIE=-fPIE;-pie
-- CMAKE_C_LINK_WHAT_YOU_USE_FLAG=LINKER:--no-as-needed
-- CMAKE_C_OUTPUT_EXTENSION=.o
-- CMAKE_C_PLATFORM_ID=Linux
-- CMAKE_C_SIMULATE_ID=
-- CMAKE_C_SIMULATE_VERSION=
-- CMAKE_C_SIZEOF_DATA_PTR=8
-- CMAKE_C_SOURCE_FILE_EXTENSIONS=c;m
-- CMAKE_C_STANDARD_COMPUTED_DEFAULT=17
-- CMAKE_C_STANDARD_DEFAULT=17
-- CMAKE_C_VERBOSE_FLAG=-v
-- CMAKE_DEPENDENT_OPTION_DEP=VCPKG_CAN_USE_HOST_TOOLS
-- CMAKE_DEPFILE_FLAGS_C=-MD -MT <DEP_TARGET> -MF <DEP_FILE>
-- CMAKE_DEPFILE_FLAGS_CXX=-MD -MT <DEP_TARGET> -MF <DEP_FILE>
-- CMAKE_DLLTOOL=CMAKE_DLLTOOL-NOTFOUND
-- CMAKE_DL_LIBS=dl
-- CMAKE_EFFECTIVE_SYSTEM_NAME=Linux
-- CMAKE_EXECUTABLE_FORMAT=ELF
-- CMAKE_EXECUTABLE_RPATH_LINK_CXX_FLAG=-Wl,-rpath-link,
-- CMAKE_EXECUTABLE_RPATH_LINK_C_FLAG=-Wl,-rpath-link,
-- CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG=-Wl,-rpath,
-- CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG_SEP=:
-- CMAKE_EXECUTABLE_RUNTIME_C_FLAG=-Wl,-rpath,
-- CMAKE_EXECUTABLE_RUNTIME_C_FLAG_SEP=:
-- CMAKE_EXECUTABLE_SUFFIX=
-- CMAKE_EXE_EXPORTS_CXX_FLAG=-Wl,--export-dynamic
-- CMAKE_EXE_EXPORTS_C_FLAG=-Wl,--export-dynamic
-- CMAKE_EXE_LINKER_FLAGS=
-- CMAKE_EXE_LINKER_FLAGS_DEBUG=
-- CMAKE_EXE_LINKER_FLAGS_INIT=  
-- CMAKE_EXE_LINKER_FLAGS_MINSIZEREL=
-- CMAKE_EXE_LINKER_FLAGS_RELEASE=
-- CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO=
-- CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS=-Wl,-Bdynamic
-- CMAKE_EXE_LINK_DYNAMIC_C_FLAGS=-Wl,-Bdynamic
-- CMAKE_EXE_LINK_STATIC_CXX_FLAGS=-Wl,-Bstatic
-- CMAKE_EXE_LINK_STATIC_C_FLAGS=-Wl,-Bstatic
-- CMAKE_EXPORT_COMPILE_COMMANDS=1
-- CMAKE_EXTRA_GENERATOR=
-- CMAKE_FILES_DIRECTORY=/CMakeFiles
-- CMAKE_FIND_APPBUNDLE=LAST
-- CMAKE_FIND_DEBUG_MODE=1
-- CMAKE_FIND_FRAMEWORK=LAST
-- CMAKE_FIND_LIBRARY_PREFIXES=lib
-- CMAKE_FIND_LIBRARY_SUFFIXES=.so;.a
-- CMAKE_FIND_ROOT_PATH=/app/vcpkg/installed/x64-linux/debug;/app/vcpkg/installed/x64-linux
-- CMAKE_GENERATOR=Unix Makefiles
-- CMAKE_GENERATOR_INSTANCE=
-- CMAKE_GENERATOR_PLATFORM=
-- CMAKE_GENERATOR_TOOLSET=
-- CMAKE_HOME_DIRECTORY=/app/workdir/latest/src
-- CMAKE_HOST_SYSTEM=Linux-6.2.0-33-generic
-- CMAKE_HOST_SYSTEM_NAME=Linux
-- CMAKE_HOST_SYSTEM_PROCESSOR=x86_64
-- CMAKE_HOST_SYSTEM_VERSION=6.2.0-33-generic
-- CMAKE_HOST_UNIX=1
-- CMAKE_INCLUDE_FLAG_C=-I
-- CMAKE_INCLUDE_FLAG_CXX=-I
-- CMAKE_INCLUDE_SYSTEM_FLAG_C=-isystem 
-- CMAKE_INCLUDE_SYSTEM_FLAG_CXX=-isystem 
-- CMAKE_INSTALL_DEFAULT_COMPONENT_NAME=Unspecified
-- CMAKE_INSTALL_PREFIX=/usr/local
-- CMAKE_INSTALL_SO_NO_EXE=1
-- CMAKE_INTERNAL_PLATFORM_ABI=ELF
-- CMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu
-- CMAKE_LIBRARY_ARCHITECTURE_REGEX=[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*
-- CMAKE_LIBRARY_PATH=/app/vcpkg/installed/x64-linux/debug/lib/manual-link;/app/vcpkg/installed/x64-linux/lib/manual-link
-- CMAKE_LIBRARY_PATH_FLAG=-L
-- CMAKE_LIBRARY_PATH_TERMINATOR=
-- CMAKE_LINKER=/usr/bin/ld
-- CMAKE_LINKER=/usr/bin/ld
-- CMAKE_LINK_LIBRARY_FLAG=-l
-- CMAKE_LINK_LIBRARY_SUFFIX=
-- CMAKE_LINK_WHAT_YOU_USE_CHECK=ldd;-u;-r
-- CMAKE_MAJOR_VERSION=3
-- CMAKE_MAKE_PROGRAM=/usr/bin/gmake
-- CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL=MinSizeRel;Release;
-- CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO=RelWithDebInfo;Release;
-- CMAKE_MATCH_0=#define PNG_LIBPNG_VER_STRING "1.6.39"
-- CMAKE_MATCH_1=1.6.39
-- CMAKE_MATCH_COUNT=1
-- CMAKE_MINIMUM_REQUIRED_VERSION=3.16.0
-- CMAKE_MINOR_VERSION=22
-- CMAKE_MODULE_LINKER_FLAGS=
-- CMAKE_MODULE_LINKER_FLAGS_DEBUG=
-- CMAKE_MODULE_LINKER_FLAGS_INIT=  
-- CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL=
-- CMAKE_MODULE_LINKER_FLAGS_RELEASE=
-- CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO=
-- CMAKE_MODULE_PATH=
-- CMAKE_MT=
-- CMAKE_NM=/usr/bin/nm
-- CMAKE_NUMBER_OF_MAKEFILES=1
-- CMAKE_OBJCOPY=/usr/bin/objcopy
-- CMAKE_OBJDUMP=/usr/bin/objdump
-- CMAKE_PARENT_LIST_FILE=/app/workdir/latest/src/CMakeLists.txt
-- CMAKE_PATCH_VERSION=1
-- CMAKE_PCH_EXTENSION=.gch
-- CMAKE_PCH_PROLOGUE=#pragma GCC system_header
-- CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES=/lib;/lib32;/lib64;/usr/lib;/usr/lib32;/usr/lib64
-- CMAKE_PLATFORM_INFO_DIR=/app/workdir/build/CMakeFiles/3.22.1
-- CMAKE_PLATFORM_INFO_INITIALIZED=1
-- CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME=1
-- CMAKE_PREFIX_PATH=/app/vcpkg/installed/x64-linux/debug;/app/vcpkg/installed/x64-linux
-- CMAKE_PROGRAM_PATH=/app/vcpkg/installed/x64-linux/tools;/app/vcpkg/installed/x64-linux/tools/brotli;/app/vcpkg/installed/x64-linux/tools/bzip2;/app/vcpkg/installed/x64-linux/tools/dbus
-- CMAKE_PROJECT_DESCRIPTION=
-- CMAKE_PROJECT_HOMEPAGE_URL=
-- CMAKE_PROJECT_NAME=myProject
-- CMAKE_RANLIB=/usr/bin/ranlib
-- CMAKE_RANLIB=/usr/bin/ranlib
-- CMAKE_READELF=/usr/bin/readelf
-- CMAKE_ROOT=/usr/share/cmake-3.22
-- CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS=-shared
-- CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS=-shared
-- CMAKE_SHARED_LIBRARY_CXX_FLAGS=-fPIC
-- CMAKE_SHARED_LIBRARY_C_FLAGS=-fPIC
-- CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS=-rdynamic
-- CMAKE_SHARED_LIBRARY_LINK_C_FLAGS=-rdynamic
-- CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_CXX_FLAGS=-Wl,-Bdynamic
-- CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_C_FLAGS=-Wl,-Bdynamic
-- CMAKE_SHARED_LIBRARY_LINK_STATIC_CXX_FLAGS=-Wl,-Bstatic
-- CMAKE_SHARED_LIBRARY_LINK_STATIC_C_FLAGS=-Wl,-Bstatic
-- CMAKE_SHARED_LIBRARY_PREFIX=lib
-- CMAKE_SHARED_LIBRARY_RPATH_LINK_CXX_FLAG=-Wl,-rpath-link,
-- CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG=-Wl,-rpath-link,
-- CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN=$ORIGIN
-- CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG=-Wl,-rpath,
-- CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP=:
-- CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG=-Wl,-rpath,
-- CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP=:
-- CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG=-Wl,-soname,
-- CMAKE_SHARED_LIBRARY_SONAME_C_FLAG=-Wl,-soname,
-- CMAKE_SHARED_LIBRARY_SUFFIX=.so
-- CMAKE_SHARED_LINKER_FLAGS=
-- CMAKE_SHARED_LINKER_FLAGS_DEBUG=
-- CMAKE_SHARED_LINKER_FLAGS_INIT=  
-- CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL=
-- CMAKE_SHARED_LINKER_FLAGS_RELEASE=
-- CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO=
-- CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS=-shared
-- CMAKE_SHARED_MODULE_CREATE_C_FLAGS=-shared
-- CMAKE_SHARED_MODULE_CXX_FLAGS=-fPIC
-- CMAKE_SHARED_MODULE_C_FLAGS=-fPIC
-- CMAKE_SHARED_MODULE_LINK_DYNAMIC_CXX_FLAGS=-Wl,-Bdynamic
-- CMAKE_SHARED_MODULE_LINK_DYNAMIC_C_FLAGS=-Wl,-Bdynamic
-- CMAKE_SHARED_MODULE_LINK_STATIC_CXX_FLAGS=-Wl,-Bstatic
-- CMAKE_SHARED_MODULE_LINK_STATIC_C_FLAGS=-Wl,-Bstatic
-- CMAKE_SHARED_MODULE_PREFIX=lib
-- CMAKE_SHARED_MODULE_SUFFIX=.so
-- CMAKE_SIZEOF_VOID_P=8
-- CMAKE_SKIP_INSTALL_RPATH=NO
-- CMAKE_SKIP_RPATH=NO
-- CMAKE_SOURCE_DIR=/app/workdir/latest/src
-- CMAKE_STATIC_LIBRARY_PREFIX=lib
-- CMAKE_STATIC_LIBRARY_SUFFIX=.a
-- CMAKE_STATIC_LINKER_FLAGS=
-- CMAKE_STATIC_LINKER_FLAGS_DEBUG=
-- CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL=
-- CMAKE_STATIC_LINKER_FLAGS_RELEASE=
-- CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO=
-- CMAKE_STRIP=/usr/bin/strip
-- CMAKE_SYSTEM=Linux-6.2.0-33-generic
-- CMAKE_SYSTEM_INCLUDE_PATH=/usr/include/X11
-- CMAKE_SYSTEM_INFO_FILE=Platform/Linux
-- CMAKE_SYSTEM_LIBRARY_PATH=/usr/lib/X11
-- CMAKE_SYSTEM_LOADED=1
-- CMAKE_SYSTEM_NAME=Linux
-- CMAKE_SYSTEM_PREFIX_PATH=/usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
-- CMAKE_SYSTEM_PROCESSOR=x86_64
-- CMAKE_SYSTEM_SPECIFIC_INFORMATION_LOADED=1
-- CMAKE_SYSTEM_SPECIFIC_INITIALIZE_LOADED=1
-- CMAKE_SYSTEM_VERSION=6.2.0-33-generic
-- CMAKE_TOOLCHAIN_FILE=/app/vcpkg/scripts/buildsystems/vcpkg.cmake
-- CMAKE_TRY_COMPILE_PLATFORM_VARIABLES=VCPKG_TARGET_TRIPLET;VCPKG_TARGET_ARCHITECTURE;VCPKG_APPLOCAL_DEPS;VCPKG_CHAINLOAD_TOOLCHAIN_FILE;Z_VCPKG_ROOT_DIR
-- CMAKE_TWEAK_VERSION=0
-- CMAKE_UNAME=/usr/bin/uname
-- CMAKE_VERBOSE_MAKEFILE=FALSE
-- CMAKE_VERSION=3.22.1
-- CPPFILENAME=main.cpp
-- FIND_PACKAGE_MESSAGE_DETAILS_ALSA=[/usr/lib/x86_64-linux-gnu/libasound.so][/usr/include][v1.2.6.1()]
-- FIND_PACKAGE_MESSAGE_DETAILS_BZip2=[optimized;/app/vcpkg/installed/x64-linux/lib/libbz2.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbz2d.a][/app/vcpkg/installed/x64-linux/include][v1.0.8()]
-- FIND_PACKAGE_MESSAGE_DETAILS_Freetype=[optimized;/app/vcpkg/installed/x64-linux/lib/libfreetype.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a][/app/vcpkg/installed/x64-linux/include][v2.12.1()]
-- FIND_PACKAGE_MESSAGE_DETAILS_PNG=[optimized;/app/vcpkg/installed/x64-linux/lib/libpng16.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libpng16d.a][/app/vcpkg/installed/x64-linux/include][v1.6.39()]
-- FIND_PACKAGE_MESSAGE_DETAILS_ZLIB=[optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a][/app/vcpkg/installed/x64-linux/include][v1.3.0()]
-- FREETYPE_FOUND=TRUE
-- FREETYPE_H=/app/vcpkg/installed/x64-linux/include/freetype/freetype.h
-- FREETYPE_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include
-- FREETYPE_INCLUDE_DIR_freetype2=/app/vcpkg/installed/x64-linux/include
-- FREETYPE_INCLUDE_DIR_ft2build=/app/vcpkg/installed/x64-linux/include
-- FREETYPE_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libfreetype.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a;optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a;optimized;/app/vcpkg/installed/x64-linux/lib/libbz2.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbz2d.a;optimized;/app/vcpkg/installed/x64-linux/lib/libpng16.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libpng16d.a;optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a;m;optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlidec.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlidec.a;optimized;/app/vcpkg/installed/x64-linux/lib/libbrotlicommon.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libbrotlicommon.a
-- FREETYPE_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libfreetype.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a
-- FREETYPE_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a
-- FREETYPE_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libfreetype.a
-- FREETYPE_VERSION_STRING=2.12.1
-- Freetype_FOUND=TRUE
-- OGG_FOUND=1
-- OGG_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include
-- OGG_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include
-- OGG_LIBRARIES=Ogg::ogg
-- OGG_LIBRARY=Ogg::ogg
-- Ogg_CONFIG=/app/vcpkg/installed/x64-linux/share/ogg/OggConfig.cmake
-- Ogg_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/ogg/OggConfig.cmake
-- Ogg_CONSIDERED_VERSIONS=1.3.5
-- Ogg_DIR=/app/vcpkg/installed/x64-linux/share/ogg
-- Ogg_FOUND=1
-- Ogg_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include
-- Ogg_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include
-- Ogg_LIBRARIES=Ogg::ogg
-- Ogg_LIBRARY=Ogg::ogg
-- Ogg_VERSION=1.3.5
-- Ogg_VERSION_COUNT=3
-- Ogg_VERSION_MAJOR=1
-- Ogg_VERSION_MINOR=3
-- Ogg_VERSION_PATCH=5
-- Ogg_VERSION_TWEAK=0
-- PACKAGE_PREFIX_DIR=/app/vcpkg/installed/x64-linux
-- PNG_FOUND=TRUE
-- PNG_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include;/app/vcpkg/installed/x64-linux/include
-- PNG_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include;/app/vcpkg/installed/x64-linux/include
-- PNG_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libpng16.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libpng16d.a;optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a;m
-- PNG_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libpng16.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libpng16d.a
-- PNG_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libpng16d.a
-- PNG_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libpng16.a
-- PNG_PNG_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include
-- PNG_VERSION_STRING=1.6.39
-- PROJECT_BINARY_DIR=/app/workdir/build
-- PROJECT_DESCRIPTION=
-- PROJECT_HOMEPAGE_URL=
-- PROJECT_IS_TOP_LEVEL=ON
-- PROJECT_NAME=myProject
-- PROJECT_SOURCE_DIR=/app/workdir/latest/src
-- RUN_CONFIGURE=ON
-- SDL2IMAGE_AVIF=OFF
-- SDL2IMAGE_BACKEND_IMAGEIO=OFF
-- SDL2IMAGE_BACKEND_STB=OFF
-- SDL2IMAGE_BACKEND_WIC=OFF
-- SDL2IMAGE_BMP=ON
-- SDL2IMAGE_GIF=ON
-- SDL2IMAGE_JPG=OFF
-- SDL2IMAGE_JPG_SAVE=OFF
-- SDL2IMAGE_JXL=OFF
-- SDL2IMAGE_LBM=ON
-- SDL2IMAGE_PCX=ON
-- SDL2IMAGE_PNG=ON
-- SDL2IMAGE_PNG_SAVE=ON
-- SDL2IMAGE_PNM=ON
-- SDL2IMAGE_QOI=ON
-- SDL2IMAGE_SDL2_REQUIRED_VERSION=2.0.9
-- SDL2IMAGE_SVG=ON
-- SDL2IMAGE_TGA=ON
-- SDL2IMAGE_TIF=OFF
-- SDL2IMAGE_VENDORED=OFF
-- SDL2IMAGE_WEBP=OFF
-- SDL2IMAGE_XCF=ON
-- SDL2IMAGE_XPM=ON
-- SDL2IMAGE_XV=ON
-- SDL2MAIN_LIBRARY=SDL2::SDL2main
-- SDL2MIXER_CMD=ON
-- SDL2MIXER_FLAC_DRFLAC=OFF
-- SDL2MIXER_FLAC_LIBFLAC=OFF
-- SDL2MIXER_MIDI=OFF
-- SDL2MIXER_MIDI_FLUIDSYNTH=OFF
-- SDL2MIXER_MIDI_NATIVE=OFF
-- SDL2MIXER_MIDI_TIMIDITY=OFF
-- SDL2MIXER_MOD=OFF
-- SDL2MIXER_MOD_MODPLUG=OFF
-- SDL2MIXER_MOD_XMP=OFF
-- SDL2MIXER_MOD_XMP_LITE=OFF
-- SDL2MIXER_MP3=OFF
-- SDL2MIXER_MP3_DRMP3=OFF
-- SDL2MIXER_MP3_MPG123=OFF
-- SDL2MIXER_OPUS=OFF
-- SDL2MIXER_SDL2_REQUIRED_VERSION=2.0.9
-- SDL2MIXER_VENDORED=OFF
-- SDL2MIXER_VORBIS=VORBISFILE
-- SDL2MIXER_VORBIS_STB=OFF
-- SDL2MIXER_VORBIS_TREMOR=OFF
-- SDL2MIXER_VORBIS_VORBISFILE=ON
-- SDL2MIXER_WAVE=ON
-- SDL2TEST_LIBRARY=SDL2::SDL2test
-- SDL2TTF_FREETYPE=ON
-- SDL2TTF_HARFBUZZ=OFF
-- SDL2TTF_SDL2_REQUIRED_VERSION=2.0.10
-- SDL2TTF_VENDORED=OFF
-- SDL2_BINDIR=/app/vcpkg/installed/x64-linux/bin
-- SDL2_CONFIG=/app/vcpkg/installed/x64-linux/share/sdl2/SDL2Config.cmake
-- SDL2_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/sdl2/SDL2Config.cmake
-- SDL2_CONSIDERED_VERSIONS=2.28.4
-- SDL2_DIR=/app/vcpkg/installed/x64-linux/share/sdl2
-- SDL2_EXEC_PREFIX=/app/vcpkg/installed/x64-linux
-- SDL2_FOUND=1
-- SDL2_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include/SDL2
-- SDL2_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include;/app/vcpkg/installed/x64-linux/include/SDL2
-- SDL2_LIBDIR=/app/vcpkg/installed/x64-linux/lib
-- SDL2_LIBRARIES=SDL2::SDL2main;SDL2::SDL2
-- SDL2_PREFIX=/app/vcpkg/installed/x64-linux
-- SDL2_SDL2-static_FOUND=TRUE
-- SDL2_SDL2main_FOUND=TRUE
-- SDL2_STATIC_LIBRARIES=SDL2::SDL2main;SDL2::SDL2-static
-- SDL2_VERSION=2.28.4
-- SDL2_VERSION_COUNT=3
-- SDL2_VERSION_MAJOR=2
-- SDL2_VERSION_MINOR=28
-- SDL2_VERSION_PATCH=4
-- SDL2_VERSION_TWEAK=0
-- SDL2_image_CONFIG=/app/vcpkg/installed/x64-linux/share/SDL2_image/SDL2_imageConfig.cmake
-- SDL2_image_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/SDL2_image/SDL2_imageConfig.cmake
-- SDL2_image_CONSIDERED_VERSIONS=2.6.3
-- SDL2_image_DIR=/app/vcpkg/installed/x64-linux/share/SDL2_image
-- SDL2_image_FOUND=1
-- SDL2_image_VERSION=2.6.3
-- SDL2_image_VERSION_COUNT=3
-- SDL2_image_VERSION_MAJOR=2
-- SDL2_image_VERSION_MINOR=6
-- SDL2_image_VERSION_PATCH=3
-- SDL2_image_VERSION_TWEAK=0
-- SDL2_mixer_CONFIG=/app/vcpkg/installed/x64-linux/share/SDL2_mixer/SDL2_mixerConfig.cmake
-- SDL2_mixer_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/SDL2_mixer/SDL2_mixerConfig.cmake
-- SDL2_mixer_CONSIDERED_VERSIONS=2.6.3
-- SDL2_mixer_DIR=/app/vcpkg/installed/x64-linux/share/SDL2_mixer
-- SDL2_mixer_FOUND=1
-- SDL2_mixer_VERSION=2.6.3
-- SDL2_mixer_VERSION_COUNT=3
-- SDL2_mixer_VERSION_MAJOR=2
-- SDL2_mixer_VERSION_MINOR=6
-- SDL2_mixer_VERSION_PATCH=3
-- SDL2_mixer_VERSION_TWEAK=0
-- SDL2_ttf_CONFIG=/app/vcpkg/installed/x64-linux/share/SDL2_ttf/SDL2_ttfConfig.cmake
-- SDL2_ttf_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/SDL2_ttf/SDL2_ttfConfig.cmake
-- SDL2_ttf_CONSIDERED_VERSIONS=2.20.2
-- SDL2_ttf_DIR=/app/vcpkg/installed/x64-linux/share/SDL2_ttf
-- SDL2_ttf_FOUND=1
-- SDL2_ttf_VERSION=2.20.2
-- SDL2_ttf_VERSION_COUNT=3
-- SDL2_ttf_VERSION_MAJOR=2
-- SDL2_ttf_VERSION_MINOR=20
-- SDL2_ttf_VERSION_PATCH=2
-- SDL2_ttf_VERSION_TWEAK=0
-- UNIX=1
-- VCPKG_APPLOCAL_DEPS=ON
-- VCPKG_CMAKE_FIND_ROOT_PATH=/app/vcpkg/installed/x64-linux/debug;/app/vcpkg/installed/x64-linux
-- VCPKG_INSTALLED_DIR=/app/vcpkg/installed
-- VCPKG_MANIFEST_DIR=
-- VCPKG_MANIFEST_INSTALL=OFF
-- VCPKG_MANIFEST_INSTALL=OFF
-- VCPKG_MANIFEST_INSTALL_AVAILABLE=0
-- VCPKG_MANIFEST_MODE=OFF
-- VCPKG_OVERRIDE_FIND_PACKAGE_NAME=find_package
-- VCPKG_PREFER_SYSTEM_LIBS=OFF
-- VCPKG_SETUP_CMAKE_PROGRAM_PATH=ON
-- VCPKG_TARGET_TRIPLET=x64-linux
-- VCPKG_TOOLCHAIN=ON
-- VCPKG_TRACE_FIND_PACKAGE=OFF
-- VCPKG_USE_HOST_TOOLS=OFF
-- VCPKG_USE_HOST_TOOLS_AVAILABLE=0
-- VCPKG_VERBOSE=OFF
-- VLINE=
-- VPART=
-- Vorbis_CONFIG=/app/vcpkg/installed/x64-linux/share/Vorbis/VorbisConfig.cmake
-- Vorbis_CONSIDERED_CONFIGS=/app/vcpkg/installed/x64-linux/share/Vorbis/VorbisConfig.cmake
-- Vorbis_CONSIDERED_VERSIONS=1.3.7
-- Vorbis_DIR=/app/vcpkg/installed/x64-linux/share/Vorbis
-- Vorbis_Enc_FOUND=TRUE
-- Vorbis_FOUND=1
-- Vorbis_File_FOUND=TRUE
-- Vorbis_VERSION=1.3.7
-- Vorbis_VERSION_COUNT=3
-- Vorbis_VERSION_MAJOR=1
-- Vorbis_VERSION_MINOR=3
-- Vorbis_VERSION_PATCH=7
-- Vorbis_VERSION_TWEAK=0
-- Vorbis_Vorbis_FOUND=1
-- X_VCPKG_APPLOCAL_DEPS_INSTALL=OFF
-- X_VCPKG_APPLOCAL_DEPS_SERIALIZED=OFF
-- ZLIB_FOUND=TRUE
-- ZLIB_H=#define ZLIB_VERSION "1.3.0"
-- ZLIB_INCLUDE_DIR=/app/vcpkg/installed/x64-linux/include
-- ZLIB_INCLUDE_DIRS=/app/vcpkg/installed/x64-linux/include
-- ZLIB_LIBRARIES=optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a
-- ZLIB_LIBRARY=optimized;/app/vcpkg/installed/x64-linux/lib/libz.a;debug;/app/vcpkg/installed/x64-linux/debug/lib/libz.a
-- ZLIB_LIBRARY_DEBUG=/app/vcpkg/installed/x64-linux/debug/lib/libz.a
-- ZLIB_LIBRARY_RELEASE=/app/vcpkg/installed/x64-linux/lib/libz.a
-- ZLIB_MAJOR_VERSION=1
-- ZLIB_MINOR_VERSION=3
-- ZLIB_PATCH_VERSION=0
-- ZLIB_VERSION_MAJOR=1
-- ZLIB_VERSION_MINOR=3
-- ZLIB_VERSION_PATCH=0
-- ZLIB_VERSION_STRING=1.3.0
-- ZLIB_VERSION_TWEAK=
-- Z_VCPKG_BOOTSTRAP_SCRIPT=/app/vcpkg/bootstrap-vcpkg.sh
-- Z_VCPKG_CHECK_MANIFEST_MODE=OFF
-- Z_VCPKG_CL=Z_VCPKG_CL-NOTFOUND
-- Z_VCPKG_CMAKE_IN_TRY_COMPILE=0
-- Z_VCPKG_CMAKE_REQUIRED_MINIMUM_VERSION=3.7.2
-- Z_VCPKG_EXECUTABLE=/app/vcpkg/vcpkg
-- Z_VCPKG_HAS_FATAL_ERROR=OFF
-- Z_VCPKG_HAS_MANIFEST_DIR=OFF
-- Z_VCPKG_INSTALLED_DIR_INITIAL_VALUE=/app/vcpkg/installed
-- Z_VCPKG_MANIFEST_DIR_INITIAL_VALUE=
-- Z_VCPKG_ROOT_DIR=/app/vcpkg
-- Z_VCPKG_TARGET_TRIPLET_PLAT=linux
-- Z_VCPKG_TOOLCHAIN_DIR=/app/vcpkg/scripts/buildsystems
-- Z_VCPKG_UNUSED=
-- _BZIP2_PATHS=PATHS;[HKEY_LOCAL_MACHINE\SOFTWARE\GnuWin32\Bzip2;InstallPath]
-- _CMAKE_CUDA_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/usr/include
-- _CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include;/usr/include
-- _CMAKE_CXX_IPO_MAY_BE_SUPPORTED_BY_COMPILER=YES
-- _CMAKE_CXX_IPO_SUPPORTED_BY_CMAKE=YES
-- _CMAKE_CXX_PIE_MAY_BE_SUPPORTED_BY_LINKER=YES
-- _CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES_INIT=/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include;/usr/include
-- _CMAKE_C_IPO_MAY_BE_SUPPORTED_BY_COMPILER=YES
-- _CMAKE_C_IPO_SUPPORTED_BY_CMAKE=YES
-- _CMAKE_C_PIE_MAY_BE_SUPPORTED_BY_LINKER=YES
-- _CMAKE_INSTALL_DIR=/usr
-- _CMAKE_PUSH_CHECK_STATE_COUNTER=0
-- _INCLUDED_FILE=/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-CXX.cmake
-- _INCLUDED_SYSTEM_INFO_FILE=/usr/share/cmake-3.22/Modules/Platform/Linux.cmake
-- _IN_TC=0
-- _VCPKG_INSTALLED_DIR=/app/vcpkg/installed
-- _ZLIB_SEARCHES=_ZLIB_SEARCH_NORMAL
-- _ZLIB_SEARCH_NORMAL=PATHS;[HKEY_LOCAL_MACHINE\SOFTWARE\GnuWin32\Zlib;InstallPath];/zlib;/zlib
-- __COMPILER_CMAKE_COMMON_COMPILER_MACROS=1
-- __COMPILER_GNU=1
-- __LINUX_COMPILER_GNU=1
-- __UNIX_PATHS_INCLUDED=1
-- __lto_flags=-flto;-fno-fat-lto-objects
-- __pch_header_C=c-header
-- __pch_header_CXX=c++-header
-- __pch_header_OBJC=objective-c-header
-- __pch_header_OBJCXX=objective-c++-header
-- _fsDefaultPkgTypeIsSet=1
-- _fsPkgTypeIsSet=1
-- _fsReqPkgTypesIsSet=1
-- _isMultiConfig=0
-- _libname=
-- d=
-- extension=
-- freetype_version_str=#define FREETYPE_MAJOR  2;#define FREETYPE_MINOR  12;#define FREETYPE_PATCH  1
-- lang=
-- myProject_BINARY_DIR=/app/workdir/build
-- myProject_DESCRIPTION=
-- myProject_HOMEPAGE_URL=
-- myProject_IS_TOP_LEVEL=ON
-- myProject_SOURCE_DIR=/app/workdir/latest/src
-- search=
-- type=
-- v=
-- z_vcpkg_find_package_1_ARGN=REQUIRED
-- z_vcpkg_find_package_1_backup_vars=
-- z_vcpkg_find_package_2_ARGN=CONFIG;REQUIRED
-- z_vcpkg_find_package_2_backup_var=
-- z_vcpkg_find_package_2_backup_vars=
-- z_vcpkg_find_package_3_ARGN=REQUIRED;REQUIRED
-- z_vcpkg_find_package_3_backup_var=
-- z_vcpkg_find_package_3_backup_vars=
-- z_vcpkg_find_package_4_ARGN=
-- z_vcpkg_find_package_4_backup_var=
-- z_vcpkg_find_package_4_backup_vars=ARGS
-- z_vcpkg_find_package_backup_id=0
-- z_vcpkg_find_package_lowercase_package_name=ogg
-- z_vcpkg_find_package_package_name=Ogg
-- z_vcpkg_find_package_vcpkg_cmake_wrapper_path=/app/vcpkg/installed/x64-linux/share/ogg/vcpkg-cmake-wrapper.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /app/workdir/build

@gojzdar
Copy link
Author

gojzdar commented Oct 20, 2023

So what can I do?

@FrankXie05
Copy link
Contributor

@gojzdar There is no problem installing and linking sdl2.
It seems that the problem lies in the method implementation of sdl2 itself or some of the sdl2 functions provided by vcpkg are incomplete.

I will investigate this. :)

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Nov 22, 2023
@FrankXie05
Copy link
Contributor

Not stale

@FrankXie05 FrankXie05 added category:port-bug The issue is with a library, which is something the port should already support and removed requires:more-information This Issue requires more information to solve Stale labels Nov 22, 2023
@ahrbe1
Copy link

ahrbe1 commented Dec 20, 2023

I believe I saw this recently when starting a new game project with SDL2 on a clean install of ubuntu. I believe this happens (for example) if you try to build the x11 backend but do not have the necessary headers installed on your container to do so. In that case, SDL2 compiles successfully, but without any graphical backends. See this warning message:

You will need to install Xorg dependencies to use feature x11:
sudo apt install libx11-dev libxft-dev libxext-dev

from

message(WARNING "You will need to install Xorg dependencies to use feature x11:\nsudo apt install libx11-dev libxft-dev libxext-dev\n")

I found that if you want sound, a similar situation occurs, and you may also need to install libasound2-dev in your build container.

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support Stale
Projects
None yet
Development

No branches or pull requests

3 participants