Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old September 29, 2011, 01:39   #41
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Someone will read your post and respond, probably many someones, probably quite quickly. There's no need to double post/cross post/whatever.

That said, I can't help you, but I'm sure someone will be along shortly who can.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old September 29, 2011, 15:14   #42
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,848
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Master Programmer View Post
":/FAangband116/src/attack.c:2716:1: fatal error: opening dependency file c:/FAangband116/src/c/FAangband116/src/attack.d: No such file or directory"

I keep getting so many errors, and this ds port, NEVER COMPILES AT ALL, ON ANY OPERATING SYSTEM I HAVE! DX

please, please, please, PLEASE, help me. D:

i tried it in linux, but it could never find the include files, i do it in windows xp, and that error pops up
I have only done this in linux, I'm afraid - but it does work for me.

I had to install devkitPro and devkitARM; I think I got most of my clues on how to use them from here.

There is also a ready-compiled version and instructions on how to use it in the FAangband download page.

Hope that helps.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old September 29, 2011, 23:54   #43
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
Quote:
Originally Posted by Nick View Post
I have only done this in linux, I'm afraid - but it does work for me.

I had to install devkitPro and devkitARM; I think I got most of my clues on how to use them from here.

There is also a ready-compiled version and instructions on how to use it in the FAangband download page.

Hope that helps.
i'm sorry, but i've already been to both of those sites.


the problem i have, is none of the source-files can seem to find each-other, and i've noticed with include files statements, you used <>'s where you should have used ""s

from what i remember, <>'s make the compiler search in the compiler's Includes folder for the files, and the ""s make it search in the local directory.....could that possibly be why it's failing?

i'm only asking, because i'm EXTREMELY new to DS programming and compiling.
Master Programmer is offline   Reply With Quote
Old September 30, 2011, 00:01   #44
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
"buttons.c
/home/paul/DS/FAangband116/src/nds/buttons.c:2:22: fatal error: main-nds.h: No such file or directory
compilation terminated.
make[3]: *** [/home/paul/DS/FAangband116/src/buttons.o] Error 1
make[2]: *** [faangband.arm7.elf] Error 2
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1"

That's my error.

i'm using the makefile "Makefile.nds"

(EDIT)

and once again, i noticed:
"#include <main-nds.h>"

any particular reason you're using the <>'s?

Last edited by Master Programmer; September 30, 2011 at 00:07.
Master Programmer is offline   Reply With Quote
Old September 30, 2011, 00:12   #45
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
I have to log off for today, but i'll check this thread when i get back
Master Programmer is offline   Reply With Quote
Old September 30, 2011, 00:38   #46
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,848
Donated: $60
Nick will become famous soon enough
Try unzipping the attached file and putting it in your src directory, and see if that works. It isn't a proper fix, but it will help me narrow down the problem (and if it does work, then that may be enough for you).
Attached Files
File Type: zip faangband.arm7.elf.zip (17.6 KB, 76 views)
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old September 30, 2011, 17:28   #47
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
Quote:
Originally Posted by Nick View Post
Try unzipping the attached file and putting it in your src directory, and see if that works. It isn't a proper fix, but it will help me narrow down the problem (and if it does work, then that may be enough for you).

I put that in a new, untouched FAngband, and this happened:

"/home/paul/DS/FAangband116/src/nds/kbd.c: In function 'kbd_set_map':
/home/paul/DS/FAangband116/src/nds/kbd.c:220:3: error: 'SUB_BG0_CR' undeclared (first use in this function)
/home/paul/DS/FAangband116/src/nds/kbd.c:220:3: note: each undeclared identifier is reported only once for each function it appears in
/home/paul/DS/FAangband116/src/nds/kbd.c:222:22: error: 'BG_16_COLOR' undeclared (first use in this function)
/home/paul/DS/FAangband116/src/nds/kbd.c: In function 'kbd_vblank':
/home/paul/DS/FAangband116/src/nds/kbd.c:318:25: error: 'IPC' undeclared (first use in this function)"


(EDIT)
the good news is, that means i didn't get the other error, so your Arm.elf file helped.
Master Programmer is offline   Reply With Quote
Old October 1, 2011, 00:58   #48
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,848
Donated: $60
Nick will become famous soon enough
OK, the NDS port clearly needs updating because the DS homebrew libraries have moved on. I'm not sure when I will get to that, but here are some places to look if you want to make any changes:

Quote:
Originally Posted by Master Programmer View Post
"/home/paul/DS/FAangband116/src/nds/kbd.c: In function 'kbd_set_map':
/home/paul/DS/FAangband116/src/nds/kbd.c:220:3: error: 'SUB_BG0_CR' undeclared (first use in this function)
/home/paul/DS/FAangband116/src/nds/kbd.c:220:3: note: each undeclared identifier is reported only once for each function it appears in
/home/paul/DS/FAangband116/src/nds/kbd.c:222:22: error: 'BG_16_COLOR' undeclared (first use in this function)
This link explains how to deal with these ones. I'm not sure what version of devkitARM you have, but this explains updating to r24.

Quote:
/home/paul/DS/FAangband116/src/nds/kbd.c: In function 'kbd_vblank':
/home/paul/DS/FAangband116/src/nds/kbd.c:318:25: error: 'IPC' undeclared (first use in this function)"
IPC is interprocessor communication, which seems to be a tricky business. This link has some pointers, although it's quite old too.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 1, 2011, 01:06   #49
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
Quote:
Originally Posted by Nick View Post
OK, the NDS port clearly needs updating because the DS homebrew libraries have moved on. I'm not sure when I will get to that, but here are some places to look if you want to make any changes:



This link explains how to deal with these ones. I'm not sure what version of devkitARM you have, but this explains updating to r24.



IPC is interprocessor communication, which seems to be a tricky business. This link has some pointers, although it's quite old too.

i'm using r34 x86_64 for ubuntu 10.04

that would be....."downdating"? OnO

(EDIT)
Yeah, i guess that would work, but now i need to find the out-dated files.....hmmmmm.....
Master Programmer is offline   Reply With Quote
Old October 2, 2011, 16:55   #50
Master Programmer
Rookie
 
Master Programmer's Avatar
 
Join Date: Sep 2011
Location: Equestria
Posts: 13
Master Programmer is on a distinguished road
Ugh.....would you mind giving me a link or something to the libraries and files you use?

i can't find the old versions anywhere.

sorry i'm wasting so much of your time. DX
Master Programmer is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Angband Java port strangeintp Vanilla 24 September 16, 2012 05:48
Mr. Att icon for Windows port ekolis Vanilla 7 June 10, 2008 19:01
[FA] WinCE port + Mouse buttons screenshots Psi Variants 6 March 4, 2008 09:16


All times are GMT +1. The time now is 10:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.