Rinnegatamante / lpp-3ds

Lua Player Plus for 3DS
GNU General Public License v3.0
180 stars 32 forks source link

Error while try to compile newest commit #34

Closed hax0kartik closed 8 years ago

hax0kartik commented 8 years ago

c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp: In function 'void stre amDECCSND(void)': c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:424:54: error: 'struct wav' has no member named 'misc' AudioDecoder_ audiodecoder = (AudioDecoder)src->misc; ^ c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp: In function 'int lua_o penmp3_old(luaState)': c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:677:23: error: 'CSND_EN CODING_MPEG' was not declared in this scope wav_file->encoding = CSND_ENCODING_MPEG; ^ c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:682:12: error: 'struct wav' has no member named 'misc' wavfile->misc = (u32)audio_decoder; ^ c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:703:61: error: expected ')' at end of input audio_decoder->DecodeAsMono(wav_file->audiobuf, wavfile->audiobuf2 ^ c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:703:61: error: expected '}' at end of input c:/Users/Dell/Desktop/lpp-3ds-master/source/luaSound.cpp:703:61: error: expected '}' at end of input make[1]: ** [luaSound.o] Error 1 make: *\ [build] Error 2

Rinnegatamante commented 8 years ago

Your repository is corrupted for sure since you have for sure an outdated audio.h file at least.