Today I decided to see if I could try to get music playing similar to how it's done in the official SDK.
I tried to assemble an .s but it says that it can't open MPlayDef.s even though it is in the same folder. What could be causing this?
Code: Select all
C:\Users\Gamer2020\Desktop\template>make
template.c
arm-eabi-gcc -MMD -MP -MF /c/Users/Gamer2020/Desktop/template/build/template.d -
g -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mth
umb -mthumb-interwork -I/c/devkitPro/libgba/include -I/c/Users/Gamer2020/Deskto
p/template/build -c /c/Users/Gamer2020/Desktop/template/source/template.c -o tem
plate.o
MPlayDef.s
arm-eabi-gcc -MMD -MP -MF /c/Users/Gamer2020/Desktop/template/build/MPlayDef.d -
x assembler-with-cpp -mthumb -mthumb-interwork -c /c/Users/Gamer2020/Desktop/tem
plate/source/MPlayDef.s -o MPlayDef.o
c:/Users/Gamer2020/Desktop/template/source/MPlayDef.s:78:32: warning: trigraph ?
?) ignored, use -trigraphs to enable [-Wtrigraphs]
c:/Users/Gamer2020/Desktop/template/source/MPlayDef.s:79:37: warning: trigraph ?
?) ignored, use -trigraphs to enable [-Wtrigraphs]
c:/Users/Gamer2020/Desktop/template/source/MPlayDef.s:85:39: warning: trigraph ?
?) ignored, use -trigraphs to enable [-Wtrigraphs]
song0.s
arm-eabi-gcc -MMD -MP -MF /c/Users/Gamer2020/Desktop/template/build/song0.d -x a
ssembler-with-cpp -mthumb -mthumb-interwork -c /c/Users/Gamer2020/Desktop/templa
te/source/song0.s -o song0.o
C:\Users\GAMER2~1\AppData\Local\Temp\ccvNnBcU.s: Assembler messages:
C:\Users\GAMER2~1\AppData\Local\Temp\ccvNnBcU.s:5: Error: can't open MPlayDef.s
for reading: No such file or directory
make[1]: *** [song0.o] Error 1
make: *** [build] Error 2
Code: Select all
PATH = c:\devkitPro\devkitARM\bin;
arm-eabi-as -o song0.o song0.s
pause
I have added sample source code in case it is needed to help me solve this problem.
Thanks.