philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.52k stars 218 forks source link

Can't run the application in Windows 11 #441

Closed CaptainMalReynolds closed 1 year ago

CaptainMalReynolds commented 1 year ago

It used to work fine in WIndows 10, but in Windows 11 I run aircast.exe and it gives me dll errors. I tried to re-install c++ libraries, tried to download DLLs manually and put them both into exe folder or windows folder - nothing helps. It started giving me another error like "the application was unable to start correctly", which is also dll related. If I run static version it works, but normal one doesn't. Any solution to that? Thanks

philippe44 commented 1 year ago

What DLL did you use

CaptainMalReynolds commented 1 year ago

I tried to replace a whole bunch of dll, in particular: libcrypto-1_1.dll libssl-1_1.dll ucrtbase.dll ucrtbased.dll vcruntime140.dll vcruntime140_1.dll vcruntime140_1_app.dll vcruntime140_1d.dll vcruntime140_app.dll vcruntime140_clr0400.dll vcruntime140d.dll xinput1_3.dll

philippe44 commented 1 year ago

Can you give me the message with just the libssl, libcrypto, urctbase,dll and vcruntime140.dll in the same directory

CaptainMalReynolds commented 1 year ago

It gives me "The code execution cannot proceed because VCRUNTIME140D.dll was not found. Reinstall the program..". Even though vcruntime140.dll is in the same folder.

philippe44 commented 1 year ago

Please use 1.0.13 and install https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

CaptainMalReynolds commented 1 year ago

Thank you, installing 1.0.14 helped!

WinkelCode commented 1 year ago

I'm still having this issue in 1.0.8 (did the numbering change? There is no 1.0.14?)

The problem is that it has been built in debug, rather than release mode. Note how the missing .dll's end in [something]d.dll.

Edit: Ah, it appears the newer releases are in a folder inside the repo, rather in the "Releases" section. 1.0.13 from there seems to indeed be fixed. (Please upload releases to the "Releases" section, especially since an older version is already there)