The official "ZDoom on Linux" thread.
Moderators: GZDoom Developers, Raze Developers
Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
- Macil
- Posts: 2529
- Joined: Mon Mar 22, 2004 7:00 pm
- Preferred Pronouns: He/Him
- Location: California, USA. Previously known as "Agent ME".
- Contact:
Re: The official "ZDoom on Linux" thread.
Do you have a 64-bit system? It looks like the same problem I had (which I still haven't gotten around to trying to solve and seeing if Fmod Ex would work).
Re: The official "ZDoom on Linux" thread.
OK, now that FMODEx is required, how do I install it? nothing helps and I still get pretty red text telling me I've messed up somewhere.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: The official "ZDoom on Linux" thread.
Someone needs to take a look at the makefiles.
I did some reorganizing of code and as a result xlatcc is gone. I already removed all references to it from the makefiles. However, the code from xlatcc, including a Lemon grammar are now part of ZDoom itself - and I have no idea how to adjust the makefiles - because I am used to compilers that do the work for me instead of having me to mess around with cryptic text files.
I did some reorganizing of code and as a result xlatcc is gone. I already removed all references to it from the makefiles. However, the code from xlatcc, including a Lemon grammar are now part of ZDoom itself - and I have no idea how to adjust the makefiles - because I am used to compilers that do the work for me instead of having me to mess around with cryptic text files.

-
- Posts: 45
- Joined: Mon Oct 09, 2006 10:16 am
Re: The official "ZDoom on Linux" thread.
For fmodex I had to slightly adjust its makefile instead of "ldconfig" i had to make it "/sbin/ldconfig" on two lines. This should not be needed if ldconfig is in PATH, but apparently mine isnt.
zdoom 2.2.0.7z compiles fine.
For svn I get:
make: *** No rule to make target `src/sound/sample_flac.h', needed by `releaseobj/fmodsound.o'. Stop.
There is no file sample_flac.h in src/sound
And so many linking warnings, just doesnt look right.
http://pastebin.com/m695e4223
zdoom 2.2.0.7z compiles fine.
For svn I get:
make: *** No rule to make target `src/sound/sample_flac.h', needed by `releaseobj/fmodsound.o'. Stop.
There is no file sample_flac.h in src/sound
And so many linking warnings, just doesnt look right.
http://pastebin.com/m695e4223
Re: The official "ZDoom on Linux" thread.
is it still like that? 
i should create a patch to fix that (i fixed mine but i thought randy or someone else already fixed it
)
i attached the patch to make it compile correctly
(but still hell why are so many files DOS encoded, normally make etc trip over those encodings, which is apparent for ex with gzdoom, where i have to dos2unix some files for g++ to actually include them in the command line, instead of giving me "error : no input file"
edit: and just create an empty file and put it in your folders as src/sound/sample_flac.h
as i said, gcc doesn't like certain coding habits ^^
but if you use the latest fmodex, you'll get this compile error :

i should create a patch to fix that (i fixed mine but i thought randy or someone else already fixed it

i attached the patch to make it compile correctly
(but still hell why are so many files DOS encoded, normally make etc trip over those encodings, which is apparent for ex with gzdoom, where i have to dos2unix some files for g++ to actually include them in the command line, instead of giving me "error : no input file"
edit: and just create an empty file and put it in your folders as src/sound/sample_flac.h

as i said, gcc doesn't like certain coding habits ^^
but if you use the latest fmodex, you'll get this compile error :
Code: Select all
Compiling mlopl_io.cpp: [OK]
Compiling opl_mus_player.cpp: [OK]
Compiling fmodsound.cpp: [ERROR]
g++ -fno-rtti -pipe -Wall -Wno-unused -fno-strict-aliasing -O2 -fomit-frame-pointer -MMD -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/sdl/ -Isrc/textures/ -Isrc/thingdef/ -Isnes_spc/snes_spc/ -I/usr/local/include/fmodex/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmodsound.o -c src/sound/fmodsound.cpp
================================================================================src/sound/fmodsound.cpp: In member function ‘virtual bool FMODStreamCapsule::Play(bool, float, bool)’:
src/sound/fmodsound.cpp:295: error: no matching function for call to ‘FMOD::Channel::addDSP(FMOD::DSP*&)’
/usr/local/include/fmodex/fmod.hpp:317: note: candidates are: FMOD_RESULT FMOD::Channel::addDSP(FMOD::DSP*, FMOD::DSPConnection**)
src/sound/fmodsound.cpp: In member function ‘bool FMODSoundRenderer::Init()’:
src/sound/fmodsound.cpp:535: error: ‘FMOD_INIT_ENABLE_DSPNET’ was not declared in this scope
make: *** [releaseobj/fmodsound.o] Error 1
- Attachments
-
zdoom.svn.Makefile.linux.patch.gz
- tiny patch to make it compile under linux
- (727 Bytes) Downloaded 81 times
Re: The official "ZDoom on Linux" thread.
I've been having similar problems as others with the sample_flac.h file. I just downloaded the src from the website, just installed fmod and flac, and I get the "cannot declare variable ‘loader’ to be of abstract type ‘FLACSampleLoader’" error. I just switched over to Ubuntu about a week ago (just as Hardy was released), and I do get ZDoom to run under WINE, which is nice, but it's choppy. Wondering if anybody has a solution to the FLACSampleLoader problem?
(A bit OT: Also, while we're talking about it, I have a .NET project I'm trying to run under mono, and the project uses FMODEx v4.6.1, and I downloaded the latest linux version, v4.14.03, and when FMODEx initializes, it throws an ERR_INVALID_SPEAKER error. Does anybody have any immediate blinding insights?)
(A bit OT: Also, while we're talking about it, I have a .NET project I'm trying to run under mono, and the project uses FMODEx v4.6.1, and I downloaded the latest linux version, v4.14.03, and when FMODEx initializes, it throws an ERR_INVALID_SPEAKER error. Does anybody have any immediate blinding insights?)
Re: The official "ZDoom on Linux" thread.
Hum.
Tried for the first time on Ubuntu Hardy, having read almost none of this thread. Of note:
- http://zdoom.org/wiki/Compile_ZDoom_on_Linux is terribly wrong, mostly about the fmod version required; latest works fine.
- Only major non-fmod make failure was during compilation of dehsupp, which couldn't find ../re2c/re2c, which is unsurprising given that it didn't exist. make didn't work from tools/re2c, due to missing config.h. apt-get install re2c and editing the dehsupp makefile to match worked fine.
- Using default or OSS (which are, by an astounding coincidence, the same thing), I get fmod error code 60. ALSA works fine. ESD either crashes or hangs shortly after restarting sound.
- ZDoom informs me there is a dimensional shambler waiting at the DOS prompt. Clearly it is confused, as I have no DOS prompt.
- Why is ZDoom not in any of Ubuntu's apt repositories?
Tried for the first time on Ubuntu Hardy, having read almost none of this thread. Of note:
- http://zdoom.org/wiki/Compile_ZDoom_on_Linux is terribly wrong, mostly about the fmod version required; latest works fine.
- Only major non-fmod make failure was during compilation of dehsupp, which couldn't find ../re2c/re2c, which is unsurprising given that it didn't exist. make didn't work from tools/re2c, due to missing config.h. apt-get install re2c and editing the dehsupp makefile to match worked fine.
- Using default or OSS (which are, by an astounding coincidence, the same thing), I get fmod error code 60. ALSA works fine. ESD either crashes or hangs shortly after restarting sound.
- ZDoom informs me there is a dimensional shambler waiting at the DOS prompt. Clearly it is confused, as I have no DOS prompt.
- Why is ZDoom not in any of Ubuntu's apt repositories?

- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: The official "ZDoom on Linux" thread.
Unfortunately is a hold-over from the original source code, presumably retained for DeHackEd compatibility purposes. It can easily be fixed with the LANGUAGE lump in a custom wad file, though.Eevee wrote:- ZDoom informs me there is a dimensional shambler waiting at the DOS prompt. Clearly it is confused, as I have no DOS prompt.
Re: The official "ZDoom on Linux" thread.
I know where it comes from; I did play vanilla back in the day.
I was kidding; it's a funny thing to find in an app that probably runs on everything but DOS.

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: The official "ZDoom on Linux" thread.
That's precisely the reason the text has not been changed. It would really be easy to do but then many Dehacked patches which wanted to change it would fail.wildweasel wrote:presumably retained for DeHackEd compatibility purposes.Eevee wrote:- ZDoom informs me there is a dimensional shambler waiting at the DOS prompt. Clearly it is confused, as I have no DOS prompt.
Re: The official "ZDoom on Linux" thread.
Remember that time when I had a shitty Sony Laptop that would freeze upon playing Zdoom?
Well, I've installed Linux on it, and it's doing much better. So.. I'm going to try ZDoom again. Here's the issue I'm having, and I'm glad I've resolven it...
The main problem seems to be with Fmod/Fmodex. After all this time I thought it was my graphics card but after having other issues with Fmod(ex) in other games (one hardlocked my system completely), I was wondering if there is a way to compile zdoom without FMOD(ex), or... just have another sound system for systems like mine (which crash on the most finicky things). I know the last request is a biggie but sheesh, it's annoying as all hell to see your computer lock up upon firing a shot.
EDIT: WTF? the makefiles still haven't been fixed? Fmodex is crashing again..
Well, I've installed Linux on it, and it's doing much better. So.. I'm going to try ZDoom again. Here's the issue I'm having, and I'm glad I've resolven it...
The main problem seems to be with Fmod/Fmodex. After all this time I thought it was my graphics card but after having other issues with Fmod(ex) in other games (one hardlocked my system completely), I was wondering if there is a way to compile zdoom without FMOD(ex), or... just have another sound system for systems like mine (which crash on the most finicky things). I know the last request is a biggie but sheesh, it's annoying as all hell to see your computer lock up upon firing a shot.

EDIT: WTF? the makefiles still haven't been fixed? Fmodex is crashing again..

Re: The official "ZDoom on Linux" thread.
I just tired compiling 2.2.0, however, it wanted fmod.h, and fmod.h is under /usr/include/fmodex/fmod.h, which I changed.
Next:
Next:
Compiling fmodsound.cpp: [ERROR]
g++ -fno-rtti -pipe -Wall -Wno-unused -fno-strict-aliasing -O2 -fomit-frame-pointer -MMD -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/sdl/ -Isrc/textures/ -Isrc/thingdef/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmodsound.o -c src/sound/fmodsound.cpp
================================================================================In file included from src/sound/fmodsound.cpp:48:
src/sound/fmodsound.h:76: error: 'FSOUND_SAMPLE' has not been declared
src/sound/fmodsound.h:79: error: ISO C++ forbids declaration of 'FSOUND_SAMPLE' with no type
src/sound/fmodsound.h:79: error: expected ';' before '*' token
In file included from src/sound/fmodsound.cpp:55:
src/sound/sample_flac.h:14: error: ISO C++ forbids declaration of 'FSOUND_SAMPLE' with no type
src/sound/sample_flac.h:14: error: expected ';' before '*' token
In file included from src/sound/fmodsound.cpp:57:
src/sound/i_musicinterns.h:196: error: expected `)' before '*' token
src/sound/i_musicinterns.h:197: error: expected `)' before '*' token
src/sound/i_musicinterns.h:198: error: expected `)' before '*' token
src/sound/i_musicinterns.h:199: error: expected `)' before '*' token
src/sound/i_musicinterns.h:200: error: expected `)' before '*' token
src/sound/i_musicinterns.h:201: error: expected `)' before '*' token
src/sound/i_musicinterns.h:202: error: expected `)' before '*' token
src/sound/i_musicinterns.h:203: error: expected `)' before '*' token
src/sound/i_musicinterns.h:203: error: expected initializer before '*' token
src/sound/i_musicinterns.h:230: error: 'SNESAPUInfo_TYPE' does not name a type
src/sound/i_musicinterns.h:231: error: 'GetAPUData_TYPE' does not name a type
src/sound/i_musicinterns.h:232: error: 'LoadSPCFile_TYPE' does not name a type
src/sound/i_musicinterns.h:233: error: 'ResetAPU_TYPE' does not name a type
src/sound/i_musicinterns.h:234: error: 'SetDSPAmp_TYPE' does not name a type
src/sound/i_musicinterns.h:235: error: 'FixAPU_TYPE' does not name a type
src/sound/i_musicinterns.h:236: error: 'SetAPUOpt_TYPE' does not name a type
src/sound/i_musicinterns.h:237: error: 'EmuAPU_TYPE' does not name a type
src/sound/fmodsound.cpp: In function 'char FModLog(char)':
src/sound/fmodsound.cpp:110: error: 'FSOUND_GetError' was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:124: error: expected `)' before '*' token
src/sound/fmodsound.cpp:135: error: 'FSOUND_STREAM' has not been declared
src/sound/fmodsound.cpp:181: error: expected ';' before 'MyCallback'
src/sound/fmodsound.cpperror: expected `;' at end of input
src/sound/fmodsound.cpperror: expected `}' at end of input
src/sound/fmodsound.cpp: In constructor 'FMODStreamCapsule::FMODStreamCapsule(void*, bool (*)(SoundStream*, void*, int, void*))':
src/sound/fmodsound.cpp:128: error: class 'FMODStreamCapsule' does not have any field named 'Stream'
src/sound/fmodsound.cpp:128: error: class 'FMODStreamCapsule' does not have any field named 'UserData'
src/sound/fmodsound.cpp:128: error: class 'FMODStreamCapsule' does not have any field named 'Callback'
src/sound/fmodsound.cpp:128: error: class 'FMODStreamCapsule' does not have any field named 'Channel'
src/sound/fmodsound.cpp: In destructor 'virtual FMODStreamCapsule::~FMODStreamCapsule()':
src/sound/fmodsound.cpp:132: error: 'Stream' was not declared in this scope
src/sound/fmodsound.cpp:132: error: 'FSOUND_Stream_Close' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'void FMODStreamCapsule::SetStream(int*)':
src/sound/fmodsound.cpp:137: error: 'Stream' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'virtual bool FMODStreamCapsule::Play(bool, float)':
src/sound/fmodsound.cpp:142: error: 'Stream' was not declared in this scope
src/sound/fmodsound.cpp:142: error: 'FSOUND_LOOP_NORMAL' was not declared in this scope
src/sound/fmodsound.cpp:142: error: 'FSOUND_LOOP_OFF' was not declared in this scope
src/sound/fmodsound.cpp:142: error: 'FSOUND_Stream_SetMode' was not declared in this scope
src/sound/fmodsound.cpp:143: error: 'Channel' was not declared in this scope
src/sound/fmodsound.cpp:143: error: 'FSOUND_FREE' was not declared in this scope
src/sound/fmodsound.cpp:143: error: 'FSOUND_Stream_PlayEx' was not declared in this scope
src/sound/fmodsound.cpp:146: error: 'FSOUND_SetVolumeAbsolute' was not declared in this scope
src/sound/fmodsound.cpp:147: error: 'FSOUND_STEREOPAN' was not declared in this scope
src/sound/fmodsound.cpp:147: error: 'FSOUND_SetPan' was not declared in this scope
src/sound/fmodsound.cpp:148: error: 'FSOUND_SetPaused' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'virtual void FMODStreamCapsule::Stop()':
src/sound/fmodsound.cpp:156: error: 'Stream' was not declared in this scope
src/sound/fmodsound.cpp:156: error: 'FSOUND_Stream_Stop' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'virtual bool FMODStreamCapsule::SetPaused(bool)':
src/sound/fmodsound.cpp:161: error: 'Channel' was not declared in this scope
src/sound/fmodsound.cpp:163: error: 'FSOUND_SetPaused' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'virtual unsigned int FMODStreamCapsule::GetPosition()':
src/sound/fmodsound.cpp:170: error: 'Stream' was not declared in this scope
src/sound/fmodsound.cpp:170: error: 'FSOUND_Stream_GetPosition' was not declared in this scope
src/sound/fmodsound.cpp: In member function 'virtual void FMODStreamCapsule::SetVolume(float)':
src/sound/fmodsound.cpp:175: error: 'Channel' was not declared in this scope
src/sound/fmodsound.cpp:177: error: 'FSOUND_SetVolumeAbsolute' was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:179: error: expected unqualified-id at end of input
make: *** [releaseobj/fmodsound.o] Error 1
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: The official "ZDoom on Linux" thread.
Whatever that was, change it back first =)I just tired compiling 2.2.0, however, it wanted fmod.h, and fmod.h is under /usr/include/fmodex/fmod.h, which I changed.
Try either creating symlinks to the fmodex stuff somewhere in your zdoom/src directory...
Code: Select all
cd /usr/src/zdoom-2.2.0/src/sound
sudo ln -s /usr/local/include/fmodex/* .
Re: The official "ZDoom on Linux" thread.
I don't know if anyone had the problem, but I had to manually symlink /usr/lib/libFLAC.so.7 to /usr/lib/libFLAC.so.8 because ZDoom complained that libFLAC.so.7 didn't not exist.
It worked.
It worked.
Re: The official "ZDoom on Linux" thread.
Compiling on Ubuntu 7.10:
Help?
Code: Select all
user@lenore:~/zdoom$ make -f Makefile.linux
sh: svnversion: not found
Compiling fmodsound.cpp: [ERROR]
g++ -fno-rtti -pipe -Wall -Wno-unused -fno-strict-aliasing -O2 -fomit-frame-pointer -MMD -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/sdl/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmodsound.o -c src/sound/fmodsound.cpp
================================================================================src/sound/fmodsound.h:73: error: ‘FSOUND_SAMPLE’ has not been declared
src/sound/fmodsound.h:76: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
src/sound/fmodsound.h:76: error: expected ‘;’ before ‘*’ token
src/sound/sample_flac.h:14: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
src/sound/sample_flac.h:14: error: expected ‘;’ before ‘*’ token
src/sound/i_musicinterns.h:196: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:197: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:198: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:199: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:200: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:201: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:202: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:203: error: expected `)' before ‘*’ token
src/sound/i_musicinterns.h:203: error: expected initializer before ‘*’ token
src/sound/i_musicinterns.h:230: error: ‘SNESAPUInfo_TYPE’ does not name a type
src/sound/i_musicinterns.h:231: error: ‘GetAPUData_TYPE’ does not name a type
src/sound/i_musicinterns.h:232: error: ‘LoadSPCFile_TYPE’ does not name a type
src/sound/i_musicinterns.h:233: error: ‘ResetAPU_TYPE’ does not name a type
src/sound/i_musicinterns.h:234: error: ‘SetDSPAmp_TYPE’ does not name a type
src/sound/i_musicinterns.h:235: error: ‘FixAPU_TYPE’ does not name a type
src/sound/i_musicinterns.h:236: error: ‘SetAPUOpt_TYPE’ does not name a type
src/sound/i_musicinterns.h:237: error: ‘EmuAPU_TYPE’ does not name a type
src/sound/fmodsound.cpp: In function ‘char FModLog(char)’:
src/sound/fmodsound.cpp:110: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:124: error: expected `)' before ‘*’ token
src/sound/fmodsound.cpp:135: error: ‘FSOUND_STREAM’ has not been declared
src/sound/fmodsound.cpp:180: error: expected ‘;’ before ‘MyCallback’
src/sound/fmodsound.cpp:190: error: expected `;' before ‘private’
src/sound/fmodsound.cpp:191: error: ISO C++ forbids declaration of ‘FSOUND_STREAM’ with no type
src/sound/fmodsound.cpp:191: error: expected ‘;’ before ‘*’ token
src/sound/fmodsound.cpp: In constructor ‘FMODStreamCapsule::FMODStreamCapsule(void*, bool (*)(SoundStream*, void*, int, void*))’:
src/sound/fmodsound.cpp:128: error: class ‘FMODStreamCapsule’ does not have any field named ‘Stream’
src/sound/fmodsound.cpp: In destructor ‘virtual FMODStreamCapsule::~FMODStreamCapsule()’:
src/sound/fmodsound.cpp:132: error: ‘Stream’ was not declared in this scope
src/sound/fmodsound.cpp:132: error: ‘FSOUND_Stream_Close’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘void FMODStreamCapsule::SetStream(int*)’:
src/sound/fmodsound.cpp:137: error: ‘Stream’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMODStreamCapsule::Play(float)’:
src/sound/fmodsound.cpp:142: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:142: error: ‘Stream’ was not declared in this scope
src/sound/fmodsound.cpp:142: error: ‘FSOUND_Stream_PlayEx’ was not declared in this scope
src/sound/fmodsound.cpp:145: error: ‘FSOUND_SetVolumeAbsolute’ was not declared in this scope
src/sound/fmodsound.cpp:146: error: ‘FSOUND_STEREOPAN’ was not declared in this scope
src/sound/fmodsound.cpp:146: error: ‘FSOUND_SetPan’ was not declared in this scope
src/sound/fmodsound.cpp:147: error: ‘FSOUND_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODStreamCapsule::Stop()’:
src/sound/fmodsound.cpp:155: error: ‘Stream’ was not declared in this scope
src/sound/fmodsound.cpp:155: error: ‘FSOUND_Stream_Stop’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMODStreamCapsule::SetPaused(bool)’:
src/sound/fmodsound.cpp:162: error: ‘FSOUND_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual unsigned int FMODStreamCapsule::GetPosition()’:
src/sound/fmodsound.cpp:169: error: ‘Stream’ was not declared in this scope
src/sound/fmodsound.cpp:169: error: ‘FSOUND_Stream_GetPosition’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODStreamCapsule::SetVolume(float)’:
src/sound/fmodsound.cpp:176: error: ‘FSOUND_SetVolumeAbsolute’ was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:206: error: expected `)' before ‘*’ token
src/sound/fmodsound.cpp:245: error: ISO C++ forbids declaration of ‘FMUSIC_MODULE’ with no type
src/sound/fmodsound.cpp:245: error: expected ‘;’ before ‘*’ token
src/sound/fmodsound.cpp: In destructor ‘virtual FMUSICCapsule::~FMUSICCapsule()’:
src/sound/fmodsound.cpp:207: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:207: error: ‘FMUSIC_FreeSong’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMUSICCapsule::Play()’:
src/sound/fmodsound.cpp:211: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:211: error: ‘FMUSIC_PlaySong’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMUSICCapsule::Stop()’:
src/sound/fmodsound.cpp:216: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:216: error: ‘FMUSIC_StopSong’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMUSICCapsule::SetVolume(float)’:
src/sound/fmodsound.cpp:221: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:221: error: ‘FMUSIC_SetMasterVolume’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMUSICCapsule::SetPaused(bool)’:
src/sound/fmodsound.cpp:226: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:226: error: ‘FMUSIC_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMUSICCapsule::IsPlaying()’:
src/sound/fmodsound.cpp:231: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:231: error: ‘FMUSIC_IsPlaying’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMUSICCapsule::IsFinished()’:
src/sound/fmodsound.cpp:236: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:236: error: ‘FMUSIC_IsFinished’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMUSICCapsule::SetOrder(int)’:
src/sound/fmodsound.cpp:241: error: ‘Module’ was not declared in this scope
src/sound/fmodsound.cpp:241: error: ‘FMUSIC_SetOrder’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘bool FMODSoundRenderer::Init()’:
src/sound/fmodsound.cpp:276: error: ‘FSOUND_OUTPUTTYPES’ does not name a type
src/sound/fmodsound.cpp:337: error: ‘FSOUND_MIXER_QUALITY_FPU’ was not declared in this scope
src/sound/fmodsound.cpp:337: error: ‘FSOUND_SetMixer’ was not declared in this scope
src/sound/fmodsound.cpp:341: error: ‘FSOUND_MIXER_AUTODETECT’ was not declared in this scope
src/sound/fmodsound.cpp:341: error: ‘FSOUND_SetMixer’ was not declared in this scope
src/sound/fmodsound.cpp:383: error: ‘outtypes’ was not declared in this scope
src/sound/fmodsound.cpp:386: error: ‘FSOUND_SetOutput’ was not declared in this scope
src/sound/fmodsound.cpp:387: error: ‘FSOUND_GetOutput’ was not declared in this scope
src/sound/fmodsound.cpp:403: error: ‘FSOUND_SetDriver’ was not declared in this scope
src/sound/fmodsound.cpp:404: error: ‘FSOUND_GetOutput’ was not declared in this scope
src/sound/fmodsound.cpp:414: error: ‘FSOUND_SetBufferSize’ was not declared in this scope
src/sound/fmodsound.cpp:416: error: ‘FSOUND_GetDriver’ was not declared in this scope
src/sound/fmodsound.cpp:416: error: ‘FSOUND_GetDriverCaps’ was not declared in this scope
src/sound/fmodsound.cpp:418: error: ‘FSOUND_INIT_DSOUND_DEFERRED’ was not declared in this scope
src/sound/fmodsound.cpp:418: error: ‘FSOUND_Init’ was not declared in this scope
src/sound/fmodsound.cpp:444: error: ‘FSOUND_GetOutput’ was not declared in this scope
src/sound/fmodsound.cpp:450: error: ‘FSOUND_3D_SetRolloffFactor’ was not declared in this scope
src/sound/fmodsound.cpp:454: error: ‘FSOUND_3D_SetRolloffFactor’ was not declared in this scope
src/sound/fmodsound.cpp:458: error: ‘FSOUND_3D_SetRolloffFactor’ was not declared in this scope
src/sound/fmodsound.cpp:460: error: ‘FSOUND_3D_SetDopplerFactor’ was not declared in this scope
src/sound/fmodsound.cpp:461: error: ‘FSOUND_3D_SetDistanceFactor’ was not declared in this scope
src/sound/fmodsound.cpp:462: error: ‘FSOUND_CAPS_HARDWARE’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘void FMODSoundRenderer::Shutdown()’:
src/sound/fmodsound.cpp:482: error: ‘FSOUND_ALL’ was not declared in this scope
src/sound/fmodsound.cpp:482: error: ‘FSOUND_StopSound’ was not declared in this scope
src/sound/fmodsound.cpp:498: error: ‘FSOUND_Close’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::PrintStatus()’:
src/sound/fmodsound.cpp:505: error: ‘FSOUND_GetOutput’ was not declared in this scope
src/sound/fmodsound.cpp:506: error: ‘FSOUND_GetDriver’ was not declared in this scope
src/sound/fmodsound.cpp:507: error: ‘FSOUND_GetMixer’ was not declared in this scope
src/sound/fmodsound.cpp:511: error: ‘FSOUND_GetDriverName’ was not declared in this scope
src/sound/fmodsound.cpp:516: error: ‘FSOUND_CAPS_HARDWARE’ was not declared in this scope
src/sound/fmodsound.cpp:517: error: ‘FSOUND_CAPS_EAX2’ was not declared in this scope
src/sound/fmodsound.cpp:518: error: ‘FSOUND_CAPS_EAX3’ was not declared in this scope
src/sound/fmodsound.cpp:521: error: ‘FSOUND_GetNumHWChannels’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::PrintDriversList()’:
src/sound/fmodsound.cpp:533: error: ‘FSOUND_GetNumDrivers’ was not declared in this scope
src/sound/fmodsound.cpp:537: error: ‘FSOUND_GetDriverName’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual FString FMODSoundRenderer::GatherStats()’:
src/sound/fmodsound.cpp:544: error: ‘FSOUND_GetChannelsPlaying’ was not declared in this scope
src/sound/fmodsound.cpp:545: error: ‘FSOUND_GetCPUUsage’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::SetSfxVolume(float)’:
src/sound/fmodsound.cpp:564: error: ‘FSOUND_SetSFXMasterVolume’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual int FMODSoundRenderer::SetChannels(int)’:
src/sound/fmodsound.cpp:580: error: ‘FSOUND_GetNumHWChannels’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual SoundStream* FMODSoundRenderer::CreateStream(bool (*)(SoundStream*, void*, int, void*), int, int, int, void*)’:
src/sound/fmodsound.cpp:605: error: ‘FSOUND_2D’ was not declared in this scope
src/sound/fmodsound.cpp:605: error: ‘FSOUND_SIGNED’ was not declared in this scope
src/sound/fmodsound.cpp:606: error: ‘FSOUND_MONO’ was not declared in this scope
src/sound/fmodsound.cpp:606: error: ‘FSOUND_STEREO’ was not declared in this scope
src/sound/fmodsound.cpp:607: error: ‘FSOUND_8BITS’ was not declared in this scope
src/sound/fmodsound.cpp:607: error: ‘FSOUND_16BITS’ was not declared in this scope
src/sound/fmodsound.cpp:608: error: ‘FSOUND_STREAM’ was not declared in this scope
src/sound/fmodsound.cpp:608: error: ‘stream’ was not declared in this scope
src/sound/fmodsound.cpp:608: error: ‘MyCallback’ is not a member of ‘FMODStreamCapsule’
src/sound/fmodsound.cpp:608: error: ‘FSOUND_Stream_Create’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual SoundStream* FMODSoundRenderer::OpenStream(const char*, int, int, int)’:
src/sound/fmodsound.cpp:620: error: ‘FSOUND_NORMAL’ was not declared in this scope
src/sound/fmodsound.cpp:620: error: ‘FSOUND_2D’ was not declared in this scope
src/sound/fmodsound.cpp:621: error: ‘FSOUND_LOOP_NORMAL’ was not declared in this scope
src/sound/fmodsound.cpp:622: error: ‘FSOUND_STREAM’ was not declared in this scope
src/sound/fmodsound.cpp:622: error: ‘stream’ was not declared in this scope
src/sound/fmodsound.cpp:626: error: ‘FSOUND_LOADMEMORY’ was not declared in this scope
src/sound/fmodsound.cpp:629: error: ‘FSOUND_Stream_Open’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual SoundTrackerModule* FMODSoundRenderer::OpenModule(const char*, int, int)’:
src/sound/fmodsound.cpp:640: error: ‘FMUSIC_MODULE’ was not declared in this scope
src/sound/fmodsound.cpp:640: error: ‘mod’ was not declared in this scope
src/sound/fmodsound.cpp:642: error: ‘FSOUND_LOOP_NORMAL’ was not declared in this scope
src/sound/fmodsound.cpp:645: error: ‘FSOUND_LOADMEMORY’ was not declared in this scope
src/sound/fmodsound.cpp:649: error: ‘FMUSIC_LoadSongEx’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual long int FMODSoundRenderer::StartSound(sfxinfo_t*, int, int, int, int, bool, bool)’:
src/sound/fmodsound.cpp:686: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:686: error: ‘CheckLooping’ was not declared in this scope
src/sound/fmodsound.cpp:686: error: ‘FSOUND_PlaySoundEx’ was not declared in this scope
src/sound/fmodsound.cpp:690: error: ‘FSOUND_SetSurround’ was not declared in this scope
src/sound/fmodsound.cpp:691: error: ‘FSOUND_SetFrequency’ was not declared in this scope
src/sound/fmodsound.cpp:692: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/sound/fmodsound.cpp:693: error: ‘FSOUND_SetPan’ was not declared in this scope
src/sound/fmodsound.cpp:694: error: ‘FSOUND_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp:704: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual long int FMODSoundRenderer::StartSound3D(sfxinfo_t*, float, int, int, bool, float*, float*, bool)’:
src/sound/fmodsound.cpp:720: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:720: error: ‘sample’ was not declared in this scope
src/sound/fmodsound.cpp:720: error: ‘CheckLooping’ was not declared in this scope
src/sound/fmodsound.cpp:722: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:722: error: ‘FSOUND_PlaySoundEx’ was not declared in this scope
src/sound/fmodsound.cpp:727: error: ‘FSOUND_SetFrequency’ was not declared in this scope
src/sound/fmodsound.cpp:728: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/sound/fmodsound.cpp:729: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
src/sound/fmodsound.cpp:730: error: ‘FSOUND_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp:740: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp:740: error: ‘FSOUND_GetChannelsPlaying’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::StopSound(long int)’:
src/sound/fmodsound.cpp:752: error: ‘FSOUND_StopSound’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::SetSfxPaused(bool)’:
src/sound/fmodsound.cpp:767: error: ‘FSOUND_SetPaused’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual bool FMODSoundRenderer::IsPlayingSound(long int)’:
src/sound/fmodsound.cpp:788: error: ‘FSOUND_OUTPUT_A3D’ was not declared in this scope
src/sound/fmodsound.cpp:790: error: ‘FSOUND_IsPlaying’ was not declared in this scope
src/sound/fmodsound.cpp:801: error: ‘FSOUND_GetCurrentPosition’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateSoundParams(long int, int, int, int)’:
src/sound/fmodsound.cpp:842: error: ‘FSOUND_SetSurround’ was not declared in this scope
src/sound/fmodsound.cpp:843: error: ‘FSOUND_SetPan’ was not declared in this scope
src/sound/fmodsound.cpp:844: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/sound/fmodsound.cpp:845: error: ‘FSOUND_SetFrequency’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateSoundParams3D(long int, float*, float*)’:
src/sound/fmodsound.cpp:857: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateListener(AActor*)’:
src/sound/fmodsound.cpp:887: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
src/sound/fmodsound.cpp:902: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
src/sound/fmodsound.cpp:931: error: ‘FSOUND_REVERB_PROPERTIES’ was not declared in this scope
src/sound/fmodsound.cpp:931: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:931: error: ‘FSOUND_Reverb_SetProperties’ was not declared in this scope
src/sound/fmodsound.cpp:936: error: ‘FSOUND_Update’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UnloadSound(sfxinfo_t*)’:
src/sound/fmodsound.cpp:959: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:959: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:959: error: ‘FSOUND_Sample_Free’ was not declared in this scope
src/sound/fmodsound.cpp:964: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:964: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:964: error: ‘FSOUND_Sample_Free’ was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:976: error: ‘int FMODSoundRenderer::PutSampleData’ is not a static member of ‘class FMODSoundRenderer’
src/sound/fmodsound.cpp:976: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:976: error: ‘sample’ was not declared in this scope
src/sound/fmodsound.cpp:976: error: expected primary-expression before ‘const’
src/sound/fmodsound.cpp:976: error: expected primary-expression before ‘int’
src/sound/fmodsound.cpp:976: error: expected primary-expression before ‘unsigned’
src/sound/fmodsound.cpp:976: error: initializer expression list treated as compound expression
src/sound/fmodsound.cpp:977: error: expected ‘,’ or ‘;’ before ‘{’ token
src/sound/fmodsound.cpp: In member function ‘void FMODSoundRenderer::DoLoad(void**, sfxinfo_t*)’:
src/sound/fmodsound.cpp:1052: error: ‘FSOUND_HW3D’ was not declared in this scope
src/sound/fmodsound.cpp:1052: error: ‘FSOUND_2D’ was not declared in this scope
src/sound/fmodsound.cpp:1085: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:1085: error: ‘sample’ was not declared in this scope
src/sound/fmodsound.cpp:1106: error: ‘FSOUND_8BITS’ was not declared in this scope
src/sound/fmodsound.cpp:1109: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:1110: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
src/sound/fmodsound.cpp:1110: error: ‘FSOUND_MONO’ was not declared in this scope
src/sound/fmodsound.cpp:1111: error: ‘FSOUND_STEREOPAN’ was not declared in this scope
src/sound/fmodsound.cpp:1111: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
src/sound/fmodsound.cpp:1112: error: ‘FSOUND_16BITS’ was not declared in this scope
src/sound/fmodsound.cpp:1116: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp:1123: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp:1124: error: ‘FSOUND_Sample_Free’ was not declared in this scope
src/sound/fmodsound.cpp:1137: error: ‘class FLACSampleLoader’ has no member named ‘LoadSample’
src/sound/fmodsound.cpp:1138: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp:1138: error: ‘FMOD_ERR_CREATEBUFFER’ was not declared in this scope
src/sound/fmodsound.cpp:1141: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:1141: error: ‘FSOUND_Sample_Load’ was not declared in this scope
src/sound/fmodsound.cpp:1146: error: ‘FSOUND_FREE’ was not declared in this scope
src/sound/fmodsound.cpp:1147: error: ‘FSOUND_LOADMEMORY’ was not declared in this scope
src/sound/fmodsound.cpp:1147: error: ‘FSOUND_Sample_Load’ was not declared in this scope
src/sound/fmodsound.cpp:1148: error: ‘FSOUND_GetError’ was not declared in this scope
src/sound/fmodsound.cpp:1148: error: ‘FMOD_ERR_CREATEBUFFER’ was not declared in this scope
src/sound/fmodsound.cpp:1158: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:1158: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:1159: error: ‘FSOUND_Sample_GetDefaults’ was not declared in this scope
src/sound/fmodsound.cpp:1162: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:1162: error: ‘FSOUND_Sample_GetLength’ was not declared in this scope
src/sound/fmodsound.cpp:1178: error: ‘FSOUND_SAMPLE’ was not declared in this scope
src/sound/fmodsound.cpp:1178: error: expected primary-expression before ‘)’ token
src/sound/fmodsound.cpp:1179: error: ‘FSOUND_Sample_SetMinMaxDistance’ was not declared in this scope
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:1235: error: expected constructor, destructor, or type conversion before ‘*’ token
make: *** [releaseobj/fmodsound.o] Error 1
user@lenore:~/zdoom$