pspdev / psplibraries

A script to automatically build open-source libraries for PSP homebrew development.
47 stars 45 forks source link

Fix SDL_gfx not installing #43

Closed sharkwouter closed 4 years ago

sharkwouter commented 4 years ago

It probably still needs SDL to be installed before it, but adding this made me able to build SDL_gfx.

On my system I see SDL_gfx, SDL_image, SDL_ttf and squirrel failing to build. I'll see if I can find a fix for all of them in the coming days.

sharkwouter commented 4 years ago

This fix is only needed if your system doesn't already have the developer package for sdl installed. Installing libsdl1.2-dev on an Ubuntu system would also make this error no longer show up as well, but I don't think using the system's files instead of the ones from the PSPSDK is desirable.

dbeef commented 4 years ago

Will check if this breaks anything the following weekend. Thanks for your contribution. : - )

sharkwouter commented 4 years ago

With the latest fixes, this may no longer be needed. I'll test this again.

sharkwouter commented 4 years ago

I've retested this PR and it's very much needed. The only reason SDL_gfx builds in our docker container is that we have the libsdl1.2-dev package in it and it uses files from that to build, even though we do have them in the toolchain as well. Another issue is that libsdl1.2-dev has a lot of dependencies, which significantly increases the size of the container.