-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building for PSP failes upon linking libSDL_mixed #148
Comments
Hey, I will try to reproduce this error and get back to you in a few hours. |
I did replicate the error you're experiencing. Took a few steps but now I got it building with the most recent toolchain image. It involved:
I have some appointments now, but I will push what I have soon. The problems come from the fact that I have not built a PSP artifact for some time and when I do, I have a local toolchain on my computer so I'm not affected by the toolchain changes within the Docker image such as gcc upgrade or changes within shipped toolchain libraries. Sorry for inconvenience and at the same time - thanks for reporting the issue. |
Thank you very much for your response, I will look into it. I previously fixed some comiplation errors in |
You're welcome, I spend much less time developing SpelunkyPSP nowadays but I'm always happy to help. It builds, the resulting EBOOT.PBP file opens in an emulator (I'm using PPSSPP) and I can play without any problems, however when I try running it on a real PSP I get "The game could not be started. (8002013C)" error message. I think the error is related to this warning from |
An update:
I will post the next update (hopefully - with the audio module re-enabled) in a few days. Cheers. |
Got it working :D Building on On top of the previous changes:
I will push the fixes tomorrow, hopefully I come up with something to still use glad. Unwelcome side effect - switching from SDL1 to SDL2 results with significantly bigger artifact (EBOOT.PBP) - an increase from 15.8 MB to 17.8 MB |
I just merged the relevant changes: #149 You can now build the project with git clone [email protected]:dbeef/spelunky-psp.git
cd spelunky-psp
sudo docker run --rm -it -v $(pwd):/root pspdev/pspdev:latest /bin/bash
# Inside the container:
cd
./scripts/config-psp.sh
./scripts/build-psp.sh
# Output artifacts:
ls ./tmp/build-psp/ Thank you for reporting the issue. |
I'm trying to use
pspdev/pspdev:latest
docker image to build the project, this includes the psp toolchain required in the building instructions. The image, along with the psp toolchain is based upon alpine linux, however I get linking errors when calling./scripts/build-psp.sh
.It looks like alpine doesn't define
sigprocmask
,waitpid
functions used inlibSDL_mixer
. What can I do with this and how this is supposed to be built? I have no idea, since switching to any other linux distributive would be a very time-consuming task as it requires to recursively modify all the images used in the pspdev build.The text was updated successfully, but these errors were encountered: