CMake Deprecation Warning at CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- [Allegro] Allegro Version: [5.2.11] -- Adding /home/allefant/allegro/build_mingw/deps to CMAKE_FIND_ROOT_PATH -- Using MINGDIR: /usr/i686-w64-mingw32 -- Allowing GCC/Clang to use SSE instructions -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed -- Performing Test HAVE_XINPUT_CAPABILITIES_EX -- Performing Test HAVE_XINPUT_CAPABILITIES_EX - Failed WARNING: FreeImage not found, disabling support -- Could NOT find WebP (missing: WEBP_INCLUDE_DIRS WEBP_LIBRARIES) WARNING: libwebp not found, disabling support -- Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) -- Could NOT find OPENSL (missing: OPENSL_INCLUDE_DIR OPENSL_LIBRARY) -- Could NOT find FLAC (missing: FLAC_INCLUDE_DIR FLAC_LIBRARY) WARNING: libFLAC not found or compile test failed, disabling support. -- Could NOT find DUMB (missing: DUMB_INCLUDE_DIR DUMB_LIBRARY) WARNING: libdumb >= 2.0 or <= 0.9.3 not found or compile test failed, disabling support. See for 2.0 or for 0.9.3. -- Could NOT find OPENMPT (missing: OPENMPT_INCLUDE_DIR OPENMPT_LIBRARY) WARNING: Dynamic loading will be disabled for Vorbis as static library was found: /home/allefant/allegro/build_mingw/deps/lib/libvorbisfile.a -- Could NOT find OPUS (missing: OPUS_INCLUDE_DIR OPUS_LIBRARY OPUSFILE_LIBRARY) WARNING: libopus not found or compile test failed, disabling support. -- Could NOT find MiniMP3 (missing: MINIMP3_INCLUDE_DIRS) WARNING: minimp3 was not found -- Could NOT find PhysFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) -- Could NOT find PHYSFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) -- Could NOT find THEORA (missing: THEORA_INCLUDE_DIR THEORA_LIBRARY) WARNING: allegro_video wanted but no supported backend found -- Not building ex_physfs -- Not building ex_video -- Could NOT find ENET (missing: ENET_INCLUDE_DIR ENET_LIBRARY) -- Using git to determine git ref for documentation. -- Using 3443ba2b8976e726407e95ffc207cc565b1e9292 as the git ref for source links in the documentation. -- Checking Pandoc version =========================== Configuration summary =========================== - OpenGL: Desktop - Primitives addon: yes - Image addon: yes - GDI+: yes - FreeImage: NO - libpng: NO - libjpeg: NO - libwebp: NO - Font addon: yes - Audio addon: yes - DirectSound: yes - OpenAL: NO - OpenSL: NO - Acodec addon: yes - FLAC: NO - DUMB: NO - OpenMPT: NO - Ogg/Vorbis: yes - Opus: NO - MP3: NO - TTF addon: yes - Color addon: yes - Memfile addon: yes - PhysFS addon: NO - Native Dialog addon: yes - Video addon: NO =========================== -- Configuring done (2.0s) -- Generating done (2.0s) -- Build files have been written to: /home/allefant/allegro/build_mingw [ 12%] Built target allegro [ 14%] Built target allegro_primitives [ 15%] Built target allegro_image [ 16%] Built target allegro_font [ 17%] Built target allegro_audio [ 18%] Built target allegro_acodec [ 18%] Building C object addons/ttf/CMakeFiles/allegro_ttf.dir/ttf.c.obj /home/allefant/allegro/git/addons/ttf/ttf.c: In function ‘copy_glyph_mono’: /home/allefant/allegro/git/addons/ttf/ttf.c:354:45: error: ‘FT_PIXEL_MODE_BGRA’ undeclared (first use in this function); did you mean ‘FT_PIXEL_MODE_GRAY’? 354 | if (face->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { | ^~~~~~~~~~~~~~~~~~ | FT_PIXEL_MODE_GRAY /home/allefant/allegro/git/addons/ttf/ttf.c:354:45: note: each undeclared identifier is reported only once for each function it appears in /home/allefant/allegro/git/addons/ttf/ttf.c: In function ‘copy_glyph_color’: /home/allefant/allegro/git/addons/ttf/ttf.c:407:45: error: ‘FT_PIXEL_MODE_BGRA’ undeclared (first use in this function); did you mean ‘FT_PIXEL_MODE_GRAY’? 407 | if (face->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { | ^~~~~~~~~~~~~~~~~~ | FT_PIXEL_MODE_GRAY /home/allefant/allegro/git/addons/ttf/ttf.c: In function ‘cache_glyph’: /home/allefant/allegro/git/addons/ttf/ttf.c:470:25: error: ‘FT_LOAD_COLOR’ undeclared (first use in this function) 470 | ft_load_flags |= FT_LOAD_COLOR; | ^~~~~~~~~~~~~ make[2]: *** [addons/ttf/CMakeFiles/allegro_ttf.dir/build.make:77: addons/ttf/CMakeFiles/allegro_ttf.dir/ttf.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:876: addons/ttf/CMakeFiles/allegro_ttf.dir/all] Error 2 make: *** [Makefile:136: all] Error 2