Hmm... asensin (ainakin olevinaan FMODin), mutta:
tomppeliserver@tomppeli-server:~/bf$ make
c++ -I. -O3 `sdl-config --cflags` -DUSEFMOD=1 -s -c -o src/audio.o src/audio.cpp
In file included from src/audio.cpp:45:
src/audio.h:64:18: error: fmod.h: No such file or directory
src/audio.cpp:309:2: warning: no newline at end of file
In file included from src/audio.cpp:45:
src/audio.h:83: error: ISO C++ forbids declaration of ‘FMUSIC_MODULE’ with no type
src/audio.h:83: error: expected ‘;’ before ‘*’ token
src/audio.h:84: error: ISO C++ forbids declaration of ‘FSOUND_STREAM’ with no type
src/audio.h:84: error: expected ‘;’ before ‘*’ token
src/audio.h:85: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
src/audio.h:85: error: expected ‘;’ before ‘*’ token
src/audio.cpp: In member function ‘void Sound::load(char*, int, bool)’:
src/audio.cpp:100: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:101: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:102: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:104: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:105: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:107: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:108: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:109: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:110: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:111: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:112: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:113: warning: deprecated conversion from string constant to ‘char*’
src/audio.cpp:116: error: ‘sample’ was not declared in this scope
src/audio.cpp:117: error: ‘module’ was not declared in this scope
src/audio.cpp:118: error: ‘stream’ was not declared in this scope
src/audio.cpp:121: error: ‘FMUSIC_LoadSong’ was not declared in this scope
src/audio.cpp:125: error: ‘FSOUND_FREE’ was not declared in this scope
src/audio.cpp:125: error: ‘FSOUND_LOOP_NORMAL’ was not declared in this scope
src/audio.cpp:125: error: ‘FSOUND_Sample_Load’ was not declared in this scope
src/audio.cpp:126: error: ‘FSOUND_Sample_SetLoopMode’ was not declared in this scope
src/audio.cpp:128: error: ‘FSOUND_FREE’ was not declared in this scope
src/audio.cpp:128: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
src/audio.cpp:128: error: ‘FSOUND_Sample_Load’ was not declared in this scope
src/audio.cpp:129: error: ‘FSOUND_Sample_SetLoopMode’ was not declared in this scope
src/audio.cpp:134: error: ‘FSOUND_LOOP_NORMAL’ was not declared in this scope
src/audio.cpp:134: error: ‘FSOUND_Stream_OpenFile’ was not declared in this scope
src/audio.cpp:136: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
src/audio.cpp:136: error: ‘FSOUND_Stream_OpenFile’ was not declared in this scope
src/audio.cpp: In member function ‘bool Sound::play()’:
src/audio.cpp:160: error: ‘module’ was not declared in this scope
src/audio.cpp:160: error: ‘FMUSIC_PlaySong’ was not declared in this scope
src/audio.cpp:161: error: ‘FMUSIC_SetMasterVolume’ was not declared in this scope
src/audio.cpp:163: error: ‘FSOUND_FREE’ was not declared in this scope
src/audio.cpp:163: error: ‘sample’ was not declared in this scope
src/audio.cpp:163: error: ‘FSOUND_PlaySound’ was not declared in this scope
src/audio.cpp:164: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/audio.cpp:170: error: ‘FSOUND_FREE’ was not declared in this scope
src/audio.cpp:170: error: ‘stream’ was not declared in this scope
src/audio.cpp:170: error: ‘FSOUND_Stream_Play’ was not declared in this scope
src/audio.cpp:171: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/audio.cpp: In member function ‘void Sound::stop()’:
src/audio.cpp:185: error: ‘module’ was not declared in this scope
src/audio.cpp:185: error: ‘FMUSIC_StopSong’ was not declared in this scope
src/audio.cpp:187: error: ‘FSOUND_StopSound’ was not declared in this scope
src/audio.cpp:189: error: ‘stream’ was not declared in this scope
src/audio.cpp:189: error: ‘FSOUND_Stream_Stop’ was not declared in this scope
src/audio.cpp: In member function ‘void Sound::setVolume(float)’:
src/audio.cpp:198: error: ‘module’ was not declared in this scope
src/audio.cpp:198: error: ‘FMUSIC_SetMasterVolume’ was not declared in this scope
src/audio.cpp:200: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/audio.cpp:202: error: ‘FSOUND_SetVolume’ was not declared in this scope
src/audio.cpp: At global scope:
src/audio.cpp:209: error: ‘FSOUND_STREAM’ was not declared in this scope
src/audio.cpp:209: error: ‘stream’ was not declared in this scope
src/audio.cpp:209: error: expected primary-expression before ‘void’
src/audio.cpp:209: error: expected primary-expression before ‘int’
src/audio.cpp:209: error: expected primary-expression before ‘int’
src/audio.cpp:209: error: initializer expression list treated as compound expression
src/audio.cpp:209: error: expected ‘,’ or ‘;’ before ‘{’ token
src/audio.cpp: In member function ‘void Sound::setStopCallback(void (*)(Sound*))’:
src/audio.cpp:223: error: ‘stream’ was not declared in this scope
src/audio.cpp:223: error: ‘FSOUND_Stream_SetEndCallback’ was not declared in this scope
src/audio.cpp: In member function ‘bool Sound::isFinished()’:
src/audio.cpp:237: error: ‘module’ was not declared in this scope
src/audio.cpp:237: error: ‘FMUSIC_IsFinished’ was not declared in this scope
src/audio.cpp: In function ‘void initAudio()’:
src/audio.cpp:292: error: ‘FSOUND_Init’ was not declared in this scope
src/audio.cpp: In function ‘void uninitAudio()’:
src/audio.cpp:298: error: ‘FSOUND_Close’ was not declared in this scope
make: *** [src/audio.o] Virhe 1
tomppeliserver@tomppeli-server:~/bf$
Nyt olen aika neuvoton... Mitähän minun kannattaisi tehdä? Asensin tuon FMODin komentamalla sen kansiossa (jonka olin juuri purkanut) sudo make install