Hello.
Maybe you guys know codemii's tutorial. I tried to compile the latest tutorial for playing .mod but every time I compile I've got these errors.
linking ... tutorial12.elf
c:/devkitPro/libogc/lib/wii\libmodplay.a(gcmodplay.o): In function `SndBufStop':
gcmodplay.c:(.text.SndBufStop+0x24): undefined reference to `ASND_StopVoice'
c:/devkitPro/libogc/lib/wii\libmodplay.a(gcmodplay.o): In function `SndBufStart':
gcmodplay.c:(.text.SndBufStart+0x1a0): undefined reference to `ASND_SetVoice'
gcmodplay.c:(.text.SndBufStart+0x1bc): undefined reference to `ASND_Pause'
c:/devkitPro/libogc/lib/wii\libmodplay.a(gcmodplay.o): In function `dmaCallback':
gcmodplay.c:(.text.dmaCallback+0xbc): undefined reference to `ASND_AddVoice'
c:/devkitPro/libogc/lib/wii\libmodplay.a(gcmodplay.o): In function `MODPlay_Init':
gcmodplay.c:(.text.MODPlay_Init+0x24): undefined reference to `ASND_Pause'
gcmodplay.c:(.text.MODPlay_Init+0x2c): undefined reference to `ASND_StopVoice'
collect2: ld returned 1 exit status
make[1]: *** [/d/Projets/tutorial12/tutorial12.elf] Error 1
"make": *** [build] Error 2
I googled for this and I only found some french guy who have the same problem, but no one anwsered is problem. But he said that using libogc 1.4.9 that it was working. What happened? Or what is the problem?
Regards.
ASND Problems
Re: ASND Problems
Add reference to Asnd library in the makefile, that will resolve the issue...
In the makefile, LIBS section add -lasnd after -lmodplay
In the makefile, LIBS section add -lasnd after -lmodplay
-
- Posts: 2
- Joined: Fri Apr 24, 2009 4:15 am
Re: ASND Problems
Thanks WiiCrazy!
It compiled!
It's not easy to know what references is missing in C++.
But now I can continue!
Thanks again!
It compiled!
It's not easy to know what references is missing in C++.
But now I can continue!
Thanks again!
Who is online
Users browsing this forum: No registered users and 1 guest