arch1t3cht / Aegisub

Cross-platform advanced subtitle editor, with new feature branches. Read the README on the feature branch.
http://www.aegisub.org
Other
744 stars 33 forks source link

XAudio2_9.dll missing - won't launch #16

Closed andiandi13 closed 1 year ago

andiandi13 commented 1 year ago

I tried to update your aegisub, but every version since you added XAudio have this issue at start.

Is something missing on my system ? FYI I have Visual C++ and DirectX June 2010 already installed.

arch1t3cht commented 1 year ago

First of all, I assume you mean XAudio2_9.dll ? not XAudio9_2.dll ?

Then, what is your Windows version? Could you list all the Xaudio2_*.dll files you have in C:/Windows/System32 ?

This happens because the CI builds are on Windows 10, so they link against XAudio2_9.dll, which is the latest version there. You probably have an older version of Windows that doesn't have version 2.9. I'll see if it's possible to make it link an older version or package a redistributable with newer builds. Until then you could

andiandi13 commented 1 year ago

Yes my bad I edited the title.

Alright, it'd be nice to fix that, because I'm on Windows 7 x64 and I guess many are and will have this error.

I tried the 3rd suggestion renaming the redistribuable version of XAudio2_9 and now it launches and everything seems to work. Audio driver is Directsound_old by default.

Thank you. Maybe you should add this to the Readme.