[sbopkg-users] gzdoom-legacy doesn't build with OpenAL installed
phfbettetga
phfbettega at gmail.com
Tue Sep 4 01:20:47 UTC 2018
Hello. I'm running Slackware -current up to date and SBo-git sbopkg
on a notebook with Intel i915 graphics, so OpenGL is at stock version.
Due to the new gzdoom incompatibility with OpenGL,
I tried to install gzdoom-legacy, but got and error.
It seems that it is related with OpenAL.
I uninstalled OpenAL and then gzdoom-legacy built ok.
The notebook Slackware install has some third party packages,
so I tested in a VirtualBox vm with a clean -current install
(AlienBob iso) and got the same error at [48%]:
/tmp/SBo/gzdoom-g2.4.0/src/./r_defs.h:578:8: note: ‘struct secspecial_t’ declared here
struct secspecial_t
^~~~~~~~~~~~
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp: In member function ‘virtual SoundStream*
OpenALSoundRenderer::CreateStream(SoundStreamCallback, int, int, int, void*)’:
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:1308:35: error: ‘mem_fn’ is not a member of ‘std’
StreamThread = std::thread(std::mem_fn(&OpenALSoundRenderer::BackgroundProc), this);
^~~~~~
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:1308:35: note: ‘std::mem_fn’ is defined in header
‘<functional>’; did you forget to ‘#include <functional>’?
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:67:1:
+#include <functional>
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:1308:35:
StreamThread = std::thread(std::mem_fn(&OpenALSoundRenderer::BackgroundProc), this);
^~~~~~
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp: In member function ‘virtual SoundStream*
OpenALSoundRenderer::OpenStream(FileReader*, int)’:
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:1321:35: error: ‘mem_fn’ is not a member of ‘std’
StreamThread = std::thread(std::mem_fn(&OpenALSoundRenderer::BackgroundProc), this);
^~~~~~
/tmp/SBo/gzdoom-g2.4.0/src/sound/oalsound.cpp:1321:35: note: ‘std::mem_fn’ is defined in header
‘<functional>’; did you forget to ‘#include <functional>’?
make[2]: *** [src/CMakeFiles/zdoom.dir/build.make:1332: src/CMakeFiles/zdoom.dir/sound/oalsound.cpp.o] Error 1
make[2]: Leaving directory '/tmp/SBo/gzdoom-g2.4.0/build'
make[1]: *** [CMakeFiles/Makefile2:831: src/CMakeFiles/zdoom.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/gzdoom-g2.4.0/build'
make: *** [Makefile:130: all] Error 2
Hope this helps
Paulo
More information about the sbopkg-users
mailing list