I'm building the release version A27 and I see the fix has already been applied there 3 days ago by sera. This is the fixed SoundManager.cpp:
const ALCchar* devices = nullptr;
if (alcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT") == AL_TRUE)
{
if (alcIsExtensionPresent(nullptr, "ALC_ENUMERATE_ALL_EXT") == AL_TRUE)
devices = alcGetString(nullptr, ALC_ALL_DEVICES_SPECIFIER);
else
devices = alcGetString(nullptr, ALC_DEVICE_SPECIFIER);
}
But after I build this successfully, identical error is produced.
Can we do a try exception to skip this?
From https://releases.wildfiregames.com/ you can get the tarballs.
Not it's not the same procedure. You only have to run update workspaces.sh on linux and then make
Where can I find the fixed and buildable source code for A26? (I've tried to build the released zips and it throws error after error)
Are the build steps identical to the A27 under development?
@tuk0z,
yes the bug was fixed with https://gitea.wildfiregames.com/0ad/0ad/commit/bb1910ff4c696502d3d518a0cd36c7bd2795554f, distribution maintainers or anyone building a26 from source can cherry-pick that commit to support >=openal-1.24.0. The next release will include the fix.
Bug report for Debian sid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087990
For the non dev people, please does #7234 means the fix has already been found, 0 A.D. code updated and the next 'dev' / stable version will probably work just fine with openal-1.24+?
Just FYI Jesse tested various games with the updated openal on Arch; results here: https://bbs.archlinux.org/viewtopic.php?pid=2209310#p2209310