ps3dev / ps3libraries

A script to automatically build various open source libraries for use on the PS3.
86 stars 74 forks source link

Bump libogg and libvorbis, add SDL2 and debugnet #37

Closed sergiou87 closed 4 years ago

sergiou87 commented 4 years ago

Just what the title says πŸ˜„ While porting https://github.com/sergiou87/open-supaplex to PS3 I had a few issues with sound and graphics, so I started updating/porting things until I got everything working πŸ˜‚

miigotu commented 4 years ago

Merged into a develop branch, for now.

zeldin commented 4 years ago

This PR broke the build. The make install of debugnet tries to install in /usr/local/ps3dev/psl1ght/portlibs/ppu, but this directory does not exist. The correct path is /usr/local/ps3dev/portlibs/ppu.

sergiou87 commented 4 years ago

@zeldin you mean these two lines are wrong? https://github.com/sergiou87/ps3debugnet/blob/master/libdebugnet/Makefile#L112

sergiou87 commented 4 years ago

FWIW I used these very same scripts to build a Docker image from which I could build my game and it works flawlessly: https://github.com/sergiou87/open-supaplex/blob/master/ci/Dockerfile-ps3

zeldin commented 4 years ago

Yes, they are wrong. They install in the wrong place. All ps3libraries scripts install in $PS3DEV/portlibs/ppu except 024-debugnet.sh which installs in $PSL1GHT/portlibs/ppu. I suspect flipacholas/ps3devextra contains some old cruft and that is why your Docker has a directory $PSL1GHT/portlibs/ppu, but that is not where this should go. $PS3DEV/portlibs/ppu has been the correct place since 2011. :smile:

sergiou87 commented 4 years ago

Sorry about that! I'll fix it immediately :sweat:

zeldin commented 4 years ago

No worries. It's on the develop branch fortunately. :smile:

sergiou87 commented 4 years ago

Should be fixed now with this: https://github.com/sergiou87/ps3debugnet/commit/47c3644af08836109d6845afb2d3eeebdb8807de

zeldin commented 4 years ago

Yup, now 024-debugnet.sh completes successfully for me. Thanks.