SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
697 stars 143 forks source link

[FEATRUE REQUEST] Load ARM64 Opus #345

Open 0944-tw opened 2 years ago

0944-tw commented 2 years ago

Please Let Discordia support load ARM64 Version Of Opus And Sodium I Know This Problem By I Edited This Module i printed the error it shows

dlopen(libopus.dylib, 0x0005): tried: 'libopus.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libopus.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libopus.dylib' (no such file), '/Users/metooidk/OwnBo/libopus.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

so i hope Discordia could support arm Platform or show ARM Platform is Not Supported Music or .. other thing?

truemedian commented 2 years ago

This has nothing to do with discordia. By fact of how computers work, if you're using an x86_64 build of luvit, you cannot load an aarch64 library. You'll need to find a build of libopus and libsodium for x86_64.