You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 35%] Compiling:soloud_wavstream.cpp
[ 35%] Compiling:stb_vorbis.c
In file included from /home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/src/audiosource/wav/soloud_wavstream.cpp:32:0:
/home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/include/soloud_wavstream.h:54:23: error: ‘nullptr’ was not declared in this scope
stb_vorbis *mOgg = nullptr;
^
/home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/include/soloud_wavstream.h:55:20: error: ‘nullptr’ was not declared in this scope
drflac *mFlac = nullptr;
^
/home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/include/soloud_wavstream.h:56:18: error: ‘nullptr’ was not declared in this scope
drmp3 *mMp3 = nullptr;
^
/home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/include/soloud_wavstream.h:57:18: error: ‘nullptr’ was not declared in this scope
drwav *mWav = nullptr;
^
Build Error: failed to compile (256) /home/ronny/BlitzMax/mod/audio.mod/soloud.mod/soloud/src/audiosource/wav/soloud_wavstream.cpp
Seems we need to compile with c++-11 standards:
g++ -std=c++11
Another (less safe approach) is to replace nullptr with NULL
The text was updated successfully, but these errors were encountered:
Seems we need to compile with c++-11 standards:
Another (less safe approach) is to replace
nullptr
withNULL
The text was updated successfully, but these errors were encountered: