All pastes #100308 Raw Edit

sauer

public text v1 · immutable
#100308 ·published 2006-07-26 00:10 UTC
rendered paste body
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer        -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags`   -c -o engine/sound.o engine/sound.cpp
engine/sound.cpp:16:27: error: SDL_mixer.h: No such file or directory
engine/sound.cpp:18: error: expected constructor, destructor, or type conversion before ‘*’ token
engine/sound.cpp:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
engine/sound.cpp:35: error: expected ‘;’ before ‘*’ token
engine/sound.cpp: In function ‘void setmusicvol(int)’:
engine/sound.cpp:50: error: ‘mod’ was not declared in this scope
engine/sound.cpp:50: error: ‘MIX_MAX_VOLUME’ was not declared in this scope
engine/sound.cpp:50: error: ‘Mix_VolumeMusic’ was not declared in this scope
engine/sound.cpp: In function ‘void stopsound()’:
engine/sound.cpp:66: error: ‘mod’ was not declared in this scope
engine/sound.cpp:69: error: ‘Mix_HaltMusic’ was not declared in this scope
engine/sound.cpp:70: error: ‘Mix_FreeMusic’ was not declared in this scope
engine/sound.cpp: In function ‘void initsound()’:
engine/sound.cpp:91: error: ‘MIX_DEFAULT_FORMAT’ was not declared in this scope
engine/sound.cpp:91: error: ‘Mix_OpenAudio’ was not declared in this scope
engine/sound.cpp:93: error: ‘Mix_GetError’ was not declared in this scope
engine/sound.cpp:96: error: ‘Mix_AllocateChannels’ was not declared in this scope
engine/sound.cpp: In function ‘void musicdone()’:
engine/sound.cpp:114: error: ‘mod’ was not declared in this scope
engine/sound.cpp:114: error: ‘Mix_FreeMusic’ was not declared in this scope
engine/sound.cpp:119: error: ‘mod’ was not declared in this scope
engine/sound.cpp: In function ‘void music(char*, char*)’:
engine/sound.cpp:141: error: ‘mod’ was not declared in this scope
engine/sound.cpp:141: error: ‘Mix_LoadMUS’ was not declared in this scope
engine/sound.cpp:143: error: ‘Mix_HookMusicFinished’ was not declared in this scope
engine/sound.cpp:144: error: ‘Mix_PlayMusic’ was not declared in this scope
engine/sound.cpp:145: error: ‘MIX_MAX_VOLUME’ was not declared in this scope
engine/sound.cpp:145: error: ‘Mix_VolumeMusic’ was not declared in this scope
engine/sound.cpp: In function ‘int findsound(char*, int)’:
engine/sound.cpp:180: error: ‘struct sample’ has no member named ‘sound’
engine/sound.cpp: In function ‘void clear_sound()’:
engine/sound.cpp:196: error: ‘Mix_CloseAudio’ was not declared in this scope
engine/sound.cpp: In function ‘void updatechanvol(int, const vec*, int)’:
engine/sound.cpp:219: error: ‘MIX_MAX_VOLUME’ was not declared in this scope
engine/sound.cpp:221: error: ‘Mix_Volume’ was not declared in this scope
engine/sound.cpp:222: error: ‘Mix_SetPanning’ was not declared in this scope
engine/sound.cpp: In function ‘void updatevol()’:
engine/sound.cpp:243: error: ‘Mix_Playing’ was not declared in this scope
engine/sound.cpp: In function ‘void playsound(int, const vec*)’:
engine/sound.cpp:270: error: ‘struct sample’ has no member named ‘sound’
engine/sound.cpp:275: error: ‘struct sample’ has no member named ‘sound’
engine/sound.cpp:275: error: ‘Mix_LoadWAV’ was not declared in this scope
engine/sound.cpp:280: error: ‘struct sample’ has no member named ‘sound’
engine/sound.cpp:284: error: ‘struct sample’ has no member named ‘sound’
engine/sound.cpp:284: error: ‘Mix_PlayChannel’ was not declared in this scope
make: *** [engine/sound.o] Error 1