Code: Select all
C:\Users\Owner\Desktop\a>make
psp-g++ -I. -IC:/pspsdk/psp/sdk/include -G0 -Wall -O0 -fno-strict-aliasing -mno-
explicit-relocs -IC:/pspsdk/psp/include/freetype2 -I. -IC:/pspsdk/psp/sdk/incl
ude -G0 -Wall -O0 -fno-strict-aliasing -mno-explicit-relocs -IC:/pspsdk/psp/inc
lude/freetype2 -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150 -c -o src/soun
d.o src/sound.cpp
src/sound.cpp:10: error: expected initializer before '*' token
src/sound.cpp: In function 'void initMikmod()':
src/sound.cpp:26: error: '_mm_RegisterErrorHandler' was not declared in this sco
pe
src/sound.cpp:35: error: 'musichandle' was not declared in this scope
c:/pspsdk/lib/gcc/../../psp/include/mikmod.h:225: error: too few arguments to fu
nction 'BOOL MikMod_Init(CHAR*)'
src/sound.cpp:36: error: at this point in file
src/sound.cpp: In function 'void unloadMikmod()':
src/sound.cpp:42: error: 'musichandle' was not declared in this scope
src/sound.cpp:42: error: 'MikMod_FreeSong' was not declared in this scope
src/sound.cpp: In function 'void loadAndPlayMusicFile(char*, BOOL)':
src/sound.cpp:51: error: 'musichandle' was not declared in this scope
src/sound.cpp:53: error: 'musichandle' was not declared in this scope
src/sound.cpp:53: error: 'MikMod_LoadSong' was not declared in this scope
src/sound.cpp: In function 'void stopAndUnloadMusic()':
src/sound.cpp:60: error: 'musichandle' was not declared in this scope
src/sound.cpp:60: error: 'MikMod_FreeSong' was not declared in this scope
src/sound.cpp: In function 'void musicPause()':
src/sound.cpp:67: error: 'MP_HandleTick' was not declared in this scope
src/sound.cpp: In function 'void musicResume()':
src/sound.cpp:71: error: 'musichandle' was not declared in this scope
src/sound.cpp: In function 'Sound* loadSound(char*)':
src/sound.cpp:77: error: 'WAV_LoadFN' was not declared in this scope
src/sound.cpp: In function 'void unloadSound(Sound*)':
src/sound.cpp:81: error: 'WAV_Free' was not declared in this scope
src/sound.cpp: In function 'Voice playSound(Sound*)':
src/sound.cpp:87: error: 'MikMod_PlaySample' was not declared in this scope
make: *** [src/sound.o] Error 1