My first compile -- god help me

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

My first compile -- god help me

Post by Ultraviolet »

Following these instructions -- http://www.zdoom.org/wiki/index.php?tit ... m_on_Linux -- running Kubuntu 7.04 (I'm a relatively new user, been at it about a month, my first Linux distro), compiling 2.1.7. Everything was compiling nicely, then it gets to some FMOD stuff and bombs. Yeah, I installed the FMOD stuff according to the instructions on that Wiki page. Please, somebody tell me what I did wrong. Here's my bunch-o-red-text:

Code: Select all

Compiling altsoundmixer.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 -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
================================================================================In file included from src/sound/fmodsound.cpp:48:
src/sound/fmodsound.h:5:18: warning: fmod.h: No such file or directory
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 avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Obviously the compiler didn't find the fmod headers. Check if it is properly installed.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

I don't know how I'd go about that. Whereis libfmod tells me it's in place. I've run through the instructions I've linked to a few times and I'm not getting anywhere.
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Post by Mannequin »

The symlinks might not be good.

Try:

Code: Select all

# Assume that you've already installed FMOD in /opt/fmodapi375linux

#create links so that the system know about fmod
ln -s /opt/fmodapi375linux/api/libfmod-3.75.so /usr/lib/libfmod.so
ln -s /opt/fmodapi375linux/api/inc /usr/include/fmod

#create <fmod.h>
echo '#include <fmod/fmod.h>' > /usr/include/fmod.h
I was almost always getting bad FMOD compiles with ZDoom using Grubber's method on page 1 of the Linux thread. This fixed that problem. The difference is when creating the symlink, this method uses the full path name.

BTW, I'm running Ubuntu 7.04, but had the same problems with 6.10.

-M.
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Post by Lemonzest »

SVN also needs GTK2 dev libs for the new IWAD menu and libjpeg.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Mannequin: At last, something specific! Something about that looks different than what I'm doing. I think it's the second link and the creation of fmod.h -- yeah, I'd say that's consistent with the error I got. I'm compiling my kernel right now (god help me, again), but as soon as that's done, I'll give what you said a shot.

Lemonzest: I'm compiling 2.1.7, not from SVN.

I only half know what I'm saying here. Arrgh...
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Post by Mannequin »

Yikes. LOL. I haven't compiled a kernel in years! I probably should for this machine, but I'm too lazy anymore. :)

I hope that this little bit helps. Maybe I should make a small post about compiling with [X || K]Ubuntu. One that uses 'apt-get' instead of 'yum'. :)

-M.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Well, the instructions that I linked to on the Wiki seem OK. For the most part, they seemed to work, except apparently for some FMOD stuff. Any references to yum I just immediately translate to apt-get because they both take install and update. Guess it's just a matter of package availability?

OK, so I ran all that stuff, and here's what I got:

Code: Select all

sh: svnversion: command 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 avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Post by Mannequin »

Here's a rough draft of what I remember doing to get ZDoom to compile. Hopefully this will fix whatever you're having trouble with currently. Obviously, you don't have to worry about downloading ZDoom from SVN since you're trying to compile 2.1.7:
Spoiler:
I'm going to try and compile 2.1.7 on here as well.

[EDIT] It compiled fine for me, but I'm not hearing a sound on testing it. :P So, I grabbed the latest SVN (revision 538), but it didn't compile. From the output, it looks like they are in the middle of some change. :P :P
Last edited by Mannequin on Mon May 28, 2007 5:04 pm, edited 1 time in total.
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Post by Mannequin »

Mannequin wrote:The symlinks might not be good.

Try:

Code: Select all

# Assume that you've already installed FMOD in /opt/fmodapi375linux

#create links so that the system know about fmod
ln -s /opt/fmodapi375linux/api/libfmod-3.75.so /usr/lib/libfmod.so
ln -s /opt/fmodapi375linux/api/inc /usr/include/fmod

#create <fmod.h>
echo '#include <fmod/fmod.h>' > /usr/include/fmod.h
Sorry for the double post. My spoiler / mini howto in my previous post supersedes this. :)

-M.
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Post by Lemonzest »

yes svn wont compile on linux at the moment as some things need adding to the makefile (same with mingw32 on windows) so best to wait a little longer
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

I didn't try compiling SVN. I tried compiling 2.1.7.
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Post by Mannequin »

How is it going? Did you get the kernel compiled? :)

-M.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Kernel is compiled, didn't make much difference (probably because I didn't just disable modules, but then turned the timer precision up, so there's some more overhead to make up for the system resources I saved :P). I have an IBM Thinkpad A21M (Pentium III, 512MB PC100 RAM) that I'll have to compile the kernel on though, and I'm sure that WILL make a big difference.

As for ZDoom, though, I'm still stuck. Hmm, you know, once Vista becomes the necessary version of Windows, I bet THEN we'd win Graf and Randy over to Linux. :P Then... support.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Ultraviolet wrote:As for ZDoom, though, I'm still stuck. Hmm, you know, once Vista becomes the necessary version of Windows, I bet THEN we'd win Graf and Randy over to Linux. :P Then... support.
That doesn't make any sense. Vista is XP with extra security and a good dose of sexy.

Given the fact that randy was working to make sure ZDoom was compatible with Vista before Vista was even out, I'm betting this will not happen.

I mean, c'mon... Windows users have lived through the ME days unscathed. Are you insinuating that Vista is worse?
Post Reply

Return to “General”