#121006 - tondopie - Thu Mar 08, 2007 3:08 am
I have been trying out the new libcartreset and i've had some problems. I try comiling my app and it comes up with this when compiling the ARM7 source:
is this a problem with r20? I have include the <cartreset_nolibfat.h> into the ARM7 source.
Here's my code:
Last edited by tondopie on Sat Mar 10, 2007 11:45 pm; edited 3 times in total
Code: |
e:/ndsdev/boot_app_mmd/arm7/source/main.c: In function 'main':
e:/ndsdev/boot_app_mmd/arm7/source/main.c:9: warning: implicit declaration of function 'passmeloopQuery' e:/ndsdev/boot_app_mmd/arm7/source/main.c:10: warning: implicit declaration of function 'cartExecute' arm-eabi-g++ -g -mthumb-interwork -mno-fpu -L/e/devkitPro/PAlib/lib -specs=ds_arm9.specs main.o -Le:/devkitPro/PAlib//lib -lpa7 -L/e/devkitPro/libnds/lib -lcartreset_nolibfat7.a -lnds7 -ldswifi7 -o build.elf e:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.1.1/../../../../arm-eabi/bin/ld.exe: cannot find -lcartreset_nolibfat7.a collect2: ld returned 1 exit status |
is this a problem with r20? I have include the <cartreset_nolibfat.h> into the ARM7 source.
Here's my code:
Code: |
#include <nds.h>
#include <cartreset_nolibfat.h> int main(int argc, char ** argv) { while(1) { if(passmeloopQuery()) // If ARM9 has enter the PassMe loop.. cartExecute(); // .. reset! swiWaitForVBlank(); } } |
Last edited by tondopie on Sat Mar 10, 2007 11:45 pm; edited 3 times in total