[Buildroot] SDL2_ttf requires libpng12 but Buildroot installs libpng16
Gustavo Zacarias
gustavo at zacarias.com.ar
Mon May 2 16:14:32 UTC 2016
On 02/05/16 12:57, Peter Thompson wrote:
> I am trying to install the SDL2 suite (SDL2, SDL2_gfx, SDL2_image,
> SDL2_ttf) using Buildroot-2016-02. SDL2 is incorporated into
> Buildroot-2016-02. SDL2_gfx and SDL2_image are relatively straight
> forward to add, but SDL2_ttf is being problematic. SDL2_ttf
> can't/won't use libpng16.
Hi.
SDL2_ttf doesn't use libpng at all, combined with the fact that you're
building the additional SDL2* packages manually is a recipe for trouble.
> My questions are:
>
> 1. Can I change Buildroot-2016-02 to use libpng12 instead of libpng16?
> I looked at libpng dependencies in Buildroot and they are HUGE! I see
> no easy way to change to libpng12.
Maybe, but expect other packages breaking because they require newer API
functionality or decided they didn't want to deal with old libpng.
> 2. Does an earlier version of buildroot use libpng12? Should I use
> that? I would miss having SDL2 available in buildroot - I had problems
> compiling that earlier.
Not really, i think you're wrong in trying to manually build everything.
> 3. Should I use buildroot to build a barebones rootfs without libpng and
> create what I need from there. Looking briefly at the dependencies, I
> am not sure that is possible.
No, again, make the additional SDL2* packages (sic) proper packages,
that's the way, i'm pretty sure it will just work(tm) at least for
SDL2_ttf since there's no mention of anything png-related in the source.
Regards.
More information about the buildroot
mailing list