Harfbuzz fails to compile on Android
1bsyl opened this issue · 3 comments
Since SDL commit 79848aac621ffe7048365e4611367e093719d884ok
Harfbuzz fails to compile on Android
This patch is missing: f903900 (issue #214)
But even if we add it, there are new issues because of c++.
Not sure how to fix this. The error appears with #include <functional>
in hb-cplusplus.h
From harfbuzz/harfbuzz#2944
we could compile with APP_STL := system
but that seems now deprecated...
(Yes, adding APP_STL := system in Application.mk gets it compiled ..
https://developer.android.com/ndk/guides/cpp-support
new and delete. (Deprecated in r18.)
And 'system' should be removed android/ndk#744 )
Ah, I see. @madebr, the file .gitmodules still references the 2.9.1 branch. Can you fix that, and take a look at this?
I just verified building SDL2 + SDL2_ttf using ndk 26.0.10792818 with -DSDL2TTF_VENDORED=ON -DSDL2TTF_HARFBUZZ=ON