laamaa / m8c

Cross-platform M8 tracker headless client
Other
382 stars 81 forks source link

Can't compile on pocketchip ARM #42

Closed PyroXFire closed 2 years ago

PyroXFire commented 2 years ago

attempting to compile on a arm device running debian Stretch this is use KainXKitsune on the discord. I get errors of undefined reference to and a lot of them are egl_window "wl_egl_window_get_attached_sized" for example.

PyroXFire commented 2 years ago

IMG_1751

laamaa commented 2 years ago

The error sounds like it might Wayland related. Does the system use Wayland or X11? I wonder if you could try manually compiling SDL2 without Wayland support

On Sat 5. Mar 2022 at 7.07, Alexzander Faryniak @.***> wrote:

[image: IMG_1751] https://user-images.githubusercontent.com/962461/156868898-563444c2-0631-4473-88c3-116bab982e18.jpg

— Reply to this email directly, view it on GitHub https://github.com/laamaa/m8c/issues/42#issuecomment-1059690113, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNUYFXZGB36IUUGN5IHDTLU6LTZFANCNFSM5P7F5M5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

PyroXFire commented 2 years ago

The error sounds like it might Wayland related. Does the system use Wayland or X11? I wonder if you could try manually compiling SDL2 without Wayland support On Sat 5. Mar 2022 at 7.07, Alexzander Faryniak @.> wrote: [image: IMG_1751] https://user-images.githubusercontent.com/962461/156868898-563444c2-0631-4473-88c3-116bab982e18.jpg — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNUYFXZGB36IUUGN5IHDTLU6LTZFANCNFSM5P7F5M5Q . You are receiving this because you are subscribed to this thread.Message ID: @.>

That is the weird thing, It doesn't use wayland I even passed "echo $XDG_SESSION_TYPE" and it confirms I am running X11. So I have no Idea why it's even trying or mentioning wayland related things.

PyroXFire commented 2 years ago

I am going to reflash the device and try another version of debian. See if that helps maybe I borked the update along the way.

PyroXFire commented 2 years ago

Okay! I got it to compile. I had to use a custom debian 11 image made for the pocketchip. it takes a bit of doing but now it compiles out of box no issue. now I just need to install my desktop enviroment so I can run it lol once I have it all running I will make a small Doc for setting it up with the pocketchip

PyroXFire commented 2 years ago

https://youtu.be/6yS8TWMqljA some video proof its working. sadly there is some lag between pages when playing a song but that is just the pocketchip not having quite enough horsepower I would think.

laamaa commented 2 years ago

Good to hear it works. I'll close the ticket