coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
378 stars 69 forks source link

TARGET_RPI hangs on build? #313

Closed futurepr0n closed 1 month ago

futurepr0n commented 1 month ago

Describe the bug I have tried to build using the target_rpi on a linux machine as well as on a rpi itself. on the RPI it basically begins to hang as it compiles. On the Linux PC side I was pretty much successful however there was a liblua arm dependency that Im not sure how to get around. I am on an intel linux machine, I tried to install the liblua and comment out the discord related stuff but it seems like it was not happy no matter what. Any tips on how to successfully build for RPI? Or is this some legacy thing thats not really possible to do anymore.

To Reproduce Steps to reproduce the behavior: get the repo, and extract assets from the rom, begin make TARGET_RPI=1

Expected behavior A complete and successful build

Screenshots None available at this time.

Desktop (please complete the following information): RPI natively building on raspbian hangs building on ubuntu 22 on laptop (intel) fails due to liblua arm

Additional context

owokitty commented 1 month ago

RPI natively building on raspbian hangs i tried to install the liblua and comment out the discord related stuff but it seems like it was not happy no matter what

I don't have a raspberry pi, but I created the only sm64 port to Beaglebone black which is like an off-brand raspberry pi, so I have some experience with the subject (to be clear don't use a beaglebone black version though it has parts that raspberry pis dont have)

You don't specifically need the WIP audio extracting code for ARM support, which is why I haven't uploaded an entire buildable fork yet, it's just because me doing them at the same time causes the code of both features to be unfortunately intertwined in my version and I don't want people to have to use an unfinished audio extractor before it's done. Sounds do work fully in that build, just not in a state I am ready to completely upload yet, I'm comfortable showing just the part of the code I posted there at the moment.

If you really need this to be working on Raspberry Pi soon though, you could let me know and I would try to upload a raspberry pi compatible version (patches, repos or binaries) as soon as I finish the minimum completeness level I am comfortable uploading for the GNU/Linux ARM version shown in my video.

Edit: I realized after posting that I accidentally posted using a different account from the one that I posted other comments on, my other account on github is "robertkirkman" and OP's original issue of the raspberry pi freezing when he tries to compile sm64coopdx could potentially be a memory space issue, as his 200 MB Swap partition and a large amount of his system memory were completely filled during the compilation. Later there will be more testing and troubleshooting done to figure out what went wrong.

futurepr0n commented 1 month ago

closing this and will continue to work with owokitty regarding any dx related pi builds if they become available in the future.