needs extra includes
spring/rts/System/Sound/OpenAL/Sound.cpp
# include <al.h>
# include <alc.h>
# include <alext.h>
else
[ 51%] Building CXX object rts/System/Sound/CMakeFiles/sound.dir/OpenAL/Sound.cpp.o
/usr/src/spring/rts/System/Sound/OpenAL/Sound.cpp: In member function ‘void CSound::StartThread(int)’:
/usr/src/spring/rts/System/Sound/OpenAL/Sound.cpp:337:53: error: ‘ALC_ALL_DEVICES_SPECIFIER’ was not declared in this scope
const char* deviceSpecifier = alcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER);
alba git OpenAL/Sound.cpp missing includes
Moderator: Moderators
Re: alba git OpenAL/Sound.cpp missing includes
these headers are already included:
https://github.com/spring/spring/blob/d ... und.cpp#L7 which includes EFX.h:
https://github.com/spring/spring/blob/d ... L/EFX.h#L8
edit:
alext.h seems missing. does it work when you include this file only in Sound.cpp?
https://github.com/spring/spring/blob/d ... und.cpp#L7 which includes EFX.h:
https://github.com/spring/spring/blob/d ... L/EFX.h#L8
edit:
alext.h seems missing. does it work when you include this file only in Sound.cpp?
Re: alba git OpenAL/Sound.cpp missing includes
it did yesabma wrote:these headers are already included:
https://github.com/spring/spring/blob/d ... und.cpp#L7 which includes EFX.h:
https://github.com/spring/spring/blob/d ... L/EFX.h#L8
edit:
alext.h seems missing. does it work when you include this file only in Sound.cpp?
Re: alba git OpenAL/Sound.cpp missing includes
applied, thanks: https://github.com/spring/spring/commit ... fbed0ef391
for the curious: which os do you have?
for the curious: which os do you have?