Page 1 of 1

Problem compiling combined template? [solve]

Posted: Fri Feb 25, 2011 5:12 am
by t377y000
hi is it just me? im having a problem compiling the combined template. :cry:
the output is

Code: Select all

> "make" 
"make" -C arm7
make[1]: Entering directory `/c/devkitPro/My_Games_DK_P/templates/combined/arm7'
template.c
arm-eabi-gcc -MMD -MP -MF /c/devkitPro/My_Games_DK_P/templates/combined/arm7/build/template.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/c/devkitPro/My_Games_DK_P/templates/combined/arm7/include -I/c/devkitPro/My_Games_DK_P/templates/combined/arm7/build -I/c/devkitPro/libnds/include -I/c/devkitPro/My_Games_DK_P/templates/combined/arm7/build -DARM7 -c /c/devkitPro/My_Games_DK_P/templates/combined/arm7/source/template.c -o template.o 
c:/devkitPro/My_Games_DK_P/templates/combined/arm7/source/template.c: In function 'main':
c:/devkitPro/My_Games_DK_P/templates/combined/arm7/source/template.c:76:12: error: 'IRQ_POWER' undeclared (first use in this function)
c:/devkitPro/My_Games_DK_P/templates/combined/arm7/source/template.c:76:12: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [template.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/devkitPro/My_Games_DK_P/templates/combined/arm7'
"make": *** [arm7/combined.elf] Error 2

> Process Exit Code: 2
> Time Taken: 00:07

UPDATE:sorry false alarm guys i was compiling an older version. :cry:

Re: Problem compiling combined template?

Posted: Fri Feb 25, 2011 11:42 am
by WinterMute
It's just you.

We don't really encourage use of the combined template and I'd strongly recommend keeping your own projects outside the devkitPro folder, the uninstaller removes the entire folder so anything you have in there will be lost if you need to do a clean reinstall.

The arm7 code in the combined template can and will change as we improve the default arm7 code and add DSi features, you'll need to merge those changes into your project for every libnds update.

Re: Problem compiling combined template?

Posted: Sat Feb 26, 2011 10:32 am
by t377y000
WinterMute wrote:It's just you.

We don't really encourage use of the combined template and I'd strongly recommend keeping your own projects outside the devkitPro folder, the uninstaller removes the entire folder so anything you have in there will be lost if you need to do a clean reinstall.

The arm7 code in the combined template can and will change as we improve the default arm7 code and add DSi features, you'll need to merge those changes into your project for every libnds update.
hi i got it working, sorry, turns out i was trying to compile the older template from the previous version. :shock:
thats awesome thanks :), finally DSimode is getting used lol.

also 1 more question.
i have the sudokuhaxon my dsi so thats what im useing for now for dsi homebrew.
im trying to test the dsis camera led, iv been looking in the i2c & libnds documents & found nothing on it no example?. :cry:

Code: Select all

I2CREGPM_CAMLED?
 i2cReadRegister(I2C_PM	,I2CREGPM_CAMLED);?

Re: Problem compiling combined template? [solve]

Posted: Sat Feb 26, 2011 10:22 pm
by WinterMute
There's a lot more that needs done before cameras are usable. For now it's probably best if you stick to what's available.

Re: Problem compiling combined template? [solve]

Posted: Sun Feb 27, 2011 12:19 am
by t377y000
WinterMute wrote:There's a lot more that needs done before cameras are usable. For now it's probably best if you stick to what's available.
thanks Lol Wow i Was up for 2 nights trying to get the dsi's camera LED to just blink. :(