Closed mariopossamato closed 3 years ago
Ah, I figured out my mistake; I completely forgot to get librtaudio! Sorry for my stupidity :P
I downloaded this, and I placed the usr
folder in C:\devkitPro\msys2
; I still receive the cannot find -lrtaudio
error. Any advice?
The linked file is an archlinux package, I don't know if it's possible to just copy the files from that into your environment and have it working like that. See if the documentation for your msys2 environment mentions anything about installing libraries, and if you have a package manager, check if you can get an rtaudio package from the repositories of your package manager. You probably don't need to worry about using my forked version of rtaudio, it fixes an issue that seems to be specific only to Linux systems using the Pulseaudio sound system.
The linked file is an archlinux package, I don't know if it's possible to just copy the files from that into your environment and have it working like that. See if the documentation for your msys2 environment mentions anything about installing libraries, and if you have a package manager, check if you can get an rtaudio package from the repositories of your package manager. You probably don't need to worry about using my forked version of rtaudio, it fixes an issue that seems to be specific only to Linux systems using the Pulseaudio sound system.
No, it doesn't quite work like that
MinGW works with native Windows binaries, and not Linux binaries
Additionally, these binaries as mentioned are linked against Pulseaudio/Alsa and not WASAPI/Directsound
You should pull rtaudio from git and build it in MinGW. For me it was a quite flakey experience but i think what worked in the end was the Cmake build flow.
I can try to find my compiled .dll and .dll.a files that worked for me.
I can try to find my compiled .dll and .dll.a files that worked for me.
Okay I think I found them and put them to a zip https://cdn.discordapp.com/attachments/283672598196518912/826943110792609807/Archive.zip
As far as I remember what you basically do is you place these files to the location where the main cop file is, and instead of using -lrtaudio
you put librtaudio.dll.a
as a second file name
Thank you! :D Also, please pardon my ineptitude on this particular topic (I'm not that familiar with this stuff); what do you mean by main cop file?
Thank you! :D Also, please pardon my ineptitude on this particular topic (I'm not that familiar with this stuff); what do you mean by main cop file?
Oh, sorry, I am on my phone, autocorrect popped in without me noticing. I meant "a CPP file"
Ah, ok, no problem! Thanks again! :)
Whenever I try to build the player by running
sh build.sh
, I receive this output:Any help on this issue would be greatly appreciated!