New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find fluidsynth.dll #8
Comments
|
I haven't written any code with Unity so I barely have ideas, but looks like the directory structure is more complicated than just putting the files directly into Unity Assets folder? : https://ericeastwood.com/blog/17/unity-and-dlls-c-managed-and-c-unmanaged I believe that |
|
Wasn't fluidsynth dependent on glib-2.0 etc. ? Unless all those dependencies are statically linked, they also have to be there. |
|
I used https://github.com/lucasg/Dependencies and found 13 dependencies. |
|
By the way, I cannot hear audio when I make a noteon event. :/ I think this is probably a Unity+fluidsynth issue, so I made post on fluidsynth repo. Would you have any idea what the issue is? |
|
Try applicable audio drivers that works on your machine? Like this https://github.com/atsushieno/nfluidsynth/blob/master/NFluidsynth.Sample/Program.cs#L15 |
|
I tried all the Windows' audio drivers, but no luck. |
|
I realized the sound wasn't working because the audio driver was immediately being disposed. Problem fixed! |
I'm having some trouble connecting to the fluidsynth.dll.
steps:
I build the .dll on Windows using msys2: https://github.com/FluidSynth/fluidsynth/wiki/BuildingWithCMake#building-with-msys2-on-windows
Then on
/build/src/I findlibfluidsynth-2.dll(this the correct .dll file I hope?)I copy this file into my Unity Assets folder, and rename it to
fluidsynth.dllOn Unity I get a
DllNotFound exception: fluidsynth.I tried this with fluidsynths versions 2.1.3, and 2.0.8.
Do you know what I'm doing wrong here? thanks!
The text was updated successfully, but these errors were encountered: