kcat / openal-soft

OpenAL Soft is a software implementation of the OpenAL 3D audio API.
Other
2.18k stars 526 forks source link

Make WinXP variant dll, plz. #748

Open z0hm opened 2 years ago

z0hm commented 2 years ago

subj

kcat commented 2 years ago

What exactly is the issue? Are you getting an error trying to use it? A build error?

z0hm commented 2 years ago

1.21.1 worked ok under winXP, 1.22.2 compiled for Vista and newest.

z0hm commented 2 years ago

About compiled binary: openal-soft-1.21.1-bin.zip and openal-soft-1.22.2-bin.zip

kcat commented 2 years ago

Both have been compiled with MinGW-w64. The compiler was updated in between, and that might have broken or dropped XP support, but without knowing what the problem is that's preventing it from running on XP, I can't guess how to fix it.

z0hm commented 2 years ago

Dependency Walker about win32 soft_oal.dll: Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. ?IESHIMS.DLL ?WER.DLL

Also RED: kernel32.dll GetTickCount64 MPR.dll WNetRestoreConnectionA

mirh commented 2 years ago

https://www.vogons.org/viewtopic.php?t=55706&start=40 Maybe it's something with these changes.. it's hard to tell without testing.

Btw it could also be that certain "extended XP" kernels are able to workaround the issue.

nanonyme commented 1 year ago

Well, it was clearly documented there winpthread requires Win 7. (but other reasons exist as well)

MSYS2/mingw-w64 dropped Windows XP support, not just the toolchain environment but including native binaries produced by the GNU GCC compilers.
The main culprit is winpthread library. The upstream targeted Window 7 APIs as minumum requirement.

Operating systems cannot be indefinitely supported. Microsoft's Windows XP Extended End Date was Apr 8, 2014 and that's like around eight years ago.