aweigit / freej2me-miyoomini

freej2me for miyoomini
Other
24 stars 5 forks source link

Compiling libraries for aarch64 for use in TrimUI Smart Pro #5

Open Arc29 opened 1 month ago

Arc29 commented 1 month ago

Hi, I am trying to recompile all dependent libraries to aarch64. I have compiled the sdl_interface binary. Now, I am having trouble generating the libaudio.so file. I have compiled sdl2-mixer (from https://github.com/libsdl-org/SDL_mixer), but I only get libSDL2_mixer-2.0.so.0 file and not libaudio.so. I guess this library should come from this because it is mentioned in the Readme.

So can you tell me how to generate this libaudio.so library?

Thanks.

Arc29 commented 1 month ago

Ok, turns out the files were in the repo itself 😅. So I compiled libaudio.so. Now to compile m3g and micro3d, it seems I need gbm. Do I need to compile it from source?

Also I tried running on my TSP without m3g and micro3d. I am getting an error:

Failed to write sdl_interface

Any suggestions?

Thanks

aweigit commented 1 month ago

You should be able to find libgbm.so in the TSP library file. If you don't run 3D games, m3g and micro3d are not necessary. Ensure that the sdl_interface process is running, you need to pay attention to line 416 of the Anbu.java and the exception output.