Problem compiling combined template? [solve]

Post Reply
t377y000
Posts: 53
Joined: Wed Jun 02, 2010 3:14 am
Location: United States

Problem compiling combined template? [solve]

Post by t377y000 » Fri Feb 25, 2011 5:12 am

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:
Last edited by t377y000 on Sat Feb 26, 2011 10:36 am, edited 1 time in total.

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Problem compiling combined template?

Post by WinterMute » Fri Feb 25, 2011 11:42 am

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

t377y000
Posts: 53
Joined: Wed Jun 02, 2010 3:14 am
Location: United States

Re: Problem compiling combined template?

Post by t377y000 » Sat Feb 26, 2011 10:32 am

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);?

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Problem compiling combined template? [solve]

Post by WinterMute » Sat Feb 26, 2011 10:22 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

t377y000
Posts: 53
Joined: Wed Jun 02, 2010 3:14 am
Location: United States

Re: Problem compiling combined template? [solve]

Post by t377y000 » Sun Feb 27, 2011 12:19 am

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. :(

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest