libsdl-org / SDL_ttf

Support for TrueType (.ttf) font files with Simple Directmedia Layer.
zlib License
402 stars 131 forks source link

Compatible SDL3 (sub)version? #426

Closed adelin-mcbsoft closed 4 weeks ago

adelin-mcbsoft commented 4 weeks ago

Hi,

Could anyone guide me... against which SDL3 version does this library compile? I tried v3.1.3 pre-release (is the only v3 release available on the Github page), it compiles and renders libSDL3.so.0.1.3, cmake makes it through, but make fails.

I also tried downloading the latest files from main branch, compiled them, got libSDL3.so.0.1.5 (so I suppose this is unreleased version 3.1.5 of SDL3), cmake works, but make compilation also fails.

So now I'm wondering which version SDL_ttf library compiles with and where can I get it from.

Thanks, A.

adelin-mcbsoft commented 4 weeks ago

If it helps in any way, this is how it fails with v3.1.3 (make VERBOSE=1):

# cmake ..
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring SDL3_ttf 3.0.0
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test HAVE_WL_NO_UNDEFINED
-- Performing Test HAVE_WL_NO_UNDEFINED - Success
-- Linker identification: GNUlike
-- Performing Test LINKER_SUPPORTS_VERSION_SCRIPT
-- Performing Test LINKER_SUPPORTS_VERSION_SCRIPT - Success
-- SDL3_ttf: Using system freetype library
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.12.1") 
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Configuring done
-- Generating done
-- Build files have been written to: /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build

# make

/usr/bin/cmake -S/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main -B/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/SDL3_ttf-shared.dir/build.make CMakeFiles/SDL3_ttf-shared.dir/depend
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
cd /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles/SDL3_ttf-shared.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/SDL3_ttf-shared.dir/build.make CMakeFiles/SDL3_ttf-shared.dir/build
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
[  8%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_hashtable.c
[ 16%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_renderer_textengine.c
[ 25%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_surface_textengine.c
[ 33%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c
In file included from /usr/local/include/SDL3/SDL.h:32,
                 from /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:22:
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c: In function ‘CalculateClusterLengths’:
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:3890:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
 3890 |             SDL_assert(cluster->offset == length);
      |                                        ^~
[ 41%] Linking C shared library libSDL3_ttf.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/SDL3_ttf-shared.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -Wl,--no-undefined -Wl,--version-script=/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.sym -shared -Wl,-soname,libSDL3_ttf.so.0 -o libSDL3_ttf.so.0.0.0 "CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o" "CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o" "CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o" "CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o"  -Wl,-rpath,/usr/local/lib: /usr/local/lib/libSDL3.so.0.1.3 /usr/lib/x86_64-linux-gnu/libfreetype.so 
/usr/bin/cmake -E cmake_symlink_library libSDL3_ttf.so.0.0.0 libSDL3_ttf.so.0 libSDL3_ttf.so
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
[ 41%] Built target SDL3_ttf-shared
make  -f CMakeFiles/glfont.dir/build.make CMakeFiles/glfont.dir/depend
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
cd /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles/glfont.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/glfont.dir/build.make CMakeFiles/glfont.dir/build
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
[ 50%] Building C object CMakeFiles/glfont.dir/examples/glfont.c.o
/usr/bin/cc -DHAVE_OPENGL -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -fPIE -Wall -Wextra -MD -MT CMakeFiles/glfont.dir/examples/glfont.c.o -MF CMakeFiles/glfont.dir/examples/glfont.c.o.d -o CMakeFiles/glfont.dir/examples/glfont.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/examples/glfont.c
[ 58%] Linking C executable glfont
/usr/bin/cmake -E cmake_link_script CMakeFiles/glfont.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/glfont.dir/examples/glfont.c.o -o glfont  -Wl,-rpath,/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build:/usr/local/lib /usr/lib/x86_64-linux-gnu/libOpenGL.so libSDL3_ttf.so.0.0.0 /usr/local/lib/libSDL3.so.0.1.3 
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
[ 58%] Built target glfont
make  -f CMakeFiles/showfont.dir/build.make CMakeFiles/showfont.dir/depend
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
cd /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles/showfont.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/showfont.dir/build.make CMakeFiles/showfont.dir/build
make[2]: Entering directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
[ 66%] Building C object CMakeFiles/showfont.dir/examples/showfont.c.o
/usr/bin/cc  -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -fPIE -Wall -Wextra -MD -MT CMakeFiles/showfont.dir/examples/showfont.c.o -MF CMakeFiles/showfont.dir/examples/showfont.c.o.d -o CMakeFiles/showfont.dir/examples/showfont.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/examples/showfont.c
[ 75%] Building C object CMakeFiles/showfont.dir/examples/editbox.c.o
/usr/bin/cc  -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -fPIE -Wall -Wextra -MD -MT CMakeFiles/showfont.dir/examples/editbox.c.o -MF CMakeFiles/showfont.dir/examples/editbox.c.o.d -o CMakeFiles/showfont.dir/examples/editbox.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/examples/editbox.c
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/examples/editbox.c: In function ‘EditBox_Backspace’:
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/examples/editbox.c:647:9: warning: implicit declaration of function ‘SDL_StepBackUTF8’; did you mean ‘SDL_StepUTF8’? [-Wimplicit-function-declaration]
  647 |         SDL_StepBackUTF8(edit->text->text, &next);
      |         ^~~~~~~~~~~~~~~~
      |         SDL_StepUTF8
[ 83%] Linking C executable showfont
/usr/bin/cmake -E cmake_link_script CMakeFiles/showfont.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/showfont.dir/examples/showfont.c.o CMakeFiles/showfont.dir/examples/editbox.c.o -o showfont  -Wl,-rpath,/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build:/usr/local/lib libSDL3_ttf.so.0.0.0 /usr/local/lib/libSDL3.so.0.1.3 
/usr/bin/ld: CMakeFiles/showfont.dir/examples/editbox.c.o: in function `EditBox_Backspace':
editbox.c:(.text+0x1bf2): undefined reference to `SDL_StepBackUTF8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/showfont.dir/build.make:115: showfont] Error 1
make[2]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/showfont.dir/all] Error 2
make[1]: Leaving directory '/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build'
make: *** [Makefile:136: all] Error 2

...and this is how it fails with the latest files from the SDL repository (v3.1.5 I suppose, the one that generates libSDL3.so.0.1.5):

/usr/bin/cmake -S/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main -B/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build --check-build-system CMakeFiles/Makefile.cmake 0
Re-run cmake: build system dependency is missing
-- Configuring SDL3_ttf 3.0.0
-- SDL3_ttf: Using system freetype library
-- Configuring done
-- Generating done
-- Build files have been written to: /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build
/usr/bin/cmake -E cmake_progress_start /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/SDL3_ttf-shared.dir/build.make CMakeFiles/SDL3_ttf-shared.dir/depend
make[2]: Entering directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
cd /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/build/CMakeFiles/SDL3_ttf-shared.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
make  -f CMakeFiles/SDL3_ttf-shared.dir/build.make CMakeFiles/SDL3_ttf-shared.dir/build
make[2]: Entering directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
[  9%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_hashtable.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_hashtable.c
[ 18%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_renderer_textengine.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_renderer_textengine.c
[ 27%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_surface_textengine.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_surface_textengine.c
[ 36%] Building C object CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o
/usr/bin/cc -DBUILD_SDL -DDLL_EXPORT -DSDL_BUILD_MAJOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DSDL_BUILD_MINOR_VERSION=0 -I/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/include -isystem /usr/include/freetype2 -fPIC -fvisibility=hidden -Wall -Wextra -MD -MT CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o -MF CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o.d -o CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o -c /home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c: In function ‘TTF_OpenFontWithProperties’:
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:1922:9: error: ‘TTF_Font’ has no member named ‘hb_direction’
 1922 |     font->hb_direction = HB_DIRECTION_LTR;
      |         ^~
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:1922:26: error: ‘HB_DIRECTION_LTR’ undeclared (first use in this function); did you mean ‘TTF_DIRECTION_LTR’?
 1922 |     font->hb_direction = HB_DIRECTION_LTR;
      |                          ^~~~~~~~~~~~~~~~
      |                          TTF_DIRECTION_LTR
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:1922:26: note: each undeclared identifier is reported only once for each function it appears in
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:1923:9: error: ‘TTF_Font’ has no member named ‘hb_script’
 1923 |     font->hb_script = HB_SCRIPT_UNKNOWN;
      |         ^~
/home/software/freerdp/assets/sdl3-ttf/SDL_ttf-main/src/SDL_ttf.c:1923:23: error: ‘HB_SCRIPT_UNKNOWN’ undeclared (first use in this function)
 1923 |     font->hb_script = HB_SCRIPT_UNKNOWN;
      |                       ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/SDL3_ttf-shared.dir/build.make:118: CMakeFiles/SDL3_ttf-shared.dir/src/SDL_ttf.c.o] Error 1
make[2]: Leaving directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/SDL3_ttf-shared.dir/all] Error 2
make[1]: Leaving directory '/home/software/freerdp/assets/_old-builds/sdl3-ttf/SDL_ttf-main/build'
make: *** [Makefile:136: all] Error 2

I forgot to mention, build was done on Debian 12.

slouken commented 4 weeks ago

You need the latest main version of SDL.

adelin-mcbsoft commented 4 weeks ago

That's what I wrote... it does not compile with the latest version of SDL3 v3.1.3 (preview-3.1.3), nor with the latest files of the main branch.

Could you point me exactly which is the latest release that it compiles with? I'm talking about SDL3, not SDL2.

Thanks in advance!

madebr commented 4 weeks ago

The error has something to do with harfbuzz. What version have you installed?

adelin-mcbsoft commented 4 weeks ago

Sorry, I didn't see you pushed a commit in the meantime. It compiles with your latest changes, Hallelujah ! Thanks a lot!