gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > DKARM r11 + Eclipse Environment Setup

#41547 - Ethos - Fri Apr 29, 2005 4:12 pm

O.K. I'm bored so here is a Eclipse Environment setup for the DS.
(FREE FREE FREE)

1. Download Eclipse : http://www.eclipse.org/downloads/index.php
2. Download JDK 5.0 : http://java.sun.com/j2se/1.5.0/download.jsp
3. Set bin directory of JDK in PATH (Environmental Variable)
4. Run Eclipse...
5. Help->Software Updates->Find and Install...
6. Search for new features to install
7. New remote site: http://update.eclipse.org/tools/cdt/updates/release
8. Next... (Select the newest version only).
9. Install MSYS (1.0.10) : http://sourceforge.net/project/showfiles.php?group_id=2435
10. Set bin directory of MSYS in PATH (Environmental Variable)
11. Download devkitarm R11: http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207&release_id=304886
12. Set bin directory of devkitarm in PATH (Environmental Variable)
13. Download NDSlib : http://www.drunkencoders.com/tools/DS/ndslib.zip
14. Install NDSlib (make sure directory is right for devkitarm in install.bat)
15. Create new Enivronmental variable called NDSLIBPATH, set to /c/ndslib/ or whatever (in linux)
16. Restart Eclipse
17. Download my shell project : http://www.student.cs.uwaterloo.ca/~jtmonagh/DS/DS_Shell.zip
18. Unzip to eclipse workspace directory
19. Import project and select the DS_Shell folder
20. Have fun!

#45369 - cory1492 - Fri Jun 10, 2005 12:47 am

how about http://www.bloodshed.net/
dev c++ is a sweet setup...

#45401 - wintermute - Fri Jun 10, 2005 9:07 am

Ethos wrote:
O.K. I'm bored so here is a Eclipse Environment setup for the DS.
(FREE FREE FREE)

1. Download Eclipse : http://www.eclipse.org/downloads/index.php
2. Download JDK 5.0 : http://java.sun.com/j2se/1.5.0/download.jsp
3. Set bin directory of JDK in PATH (Environmental Variable)
4. Run Eclipse...
5. Help->Software Updates->Find and Install...
6. Search for new features to install
7. New remote site: http://update.eclipse.org/tools/cdt/updates/release
8. Next... (Select the newest version only).
9. Install MSYS (1.0.10) : http://sourceforge.net/project/showfiles.php?group_id=2435
10. Set bin directory of MSYS in PATH (Environmental Variable)
11. Download devkitarm : http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207&release_id=304886
12. Set bin directory of devkitarm in PATH (Environmental Variable)
13. Download NDSlib : http://www.drunkencoders.com/tools/DS/ndslib.zip
14. Install NDSlib (make sure directory is right for devkitarm in install.bat)
15. Create new Enivronmental variable called NDSLIBPATH, set to /c/ndslib/ or whatever (in linux)
16. Restart Eclipse
17. Download my shell project : http://www.student.cs.uwaterloo.ca/~jtmonagh/DS/DS_Shell.zip
18. Unzip to eclipse workspace directory
19. Import project and select the DS_Shell folder
20. Have fun!


you really should check things like this before posting them.

1. Never link directly to a particular release of devkitARM.
2. Check that your instructions for any external libs are still valid.
3. Update any project templates you have made

#45410 - Ethos - Fri Jun 10, 2005 1:10 pm

1. The above setup is only tested and I believe applicable to r11.
2. Why?? I clearly linked to r11
3. Why?? they work with the given setup.

Please check the post date before scrutinizing a post.

This is a post, not a FAQs...I have no obligation to update for every release.
_________________
Ethos' Homepage (Demos/NDS 3D Tutorial)

#45411 - wintermute - Fri Jun 10, 2005 1:13 pm

Ethos wrote:
1. The above setup is only tested and I believe applicable to r11.
2. Why?? I clearly linked to r11
3. Why?? they work with the given setup.

Please check the post date before scrutinizing a post.

This is a post, not a FAQs...I have no obligation to update for every release.


only noticed this after it was bumped by the second post.

As it happens, the instructions given will no longer work, just letting you know.

90% of the problems I see from people using devkitARM can be traced back to posts like yours. Personally I do feel that people posting guides of any description in public forums should make a little more effort. :P

#45487 - tepples - Sat Jun 11, 2005 5:11 am

For the benefit of other readers, I clarified that Ethos' guide targeted devkitARM R11, as do any guides I post (until I have the time to try to port my own projects to R12). The older version also has an advantage that it works with currently available (albeit more inaccurate than even Nesticle) emulators.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#45558 - wintermute - Sun Jun 12, 2005 12:26 am

tepples wrote:
For the benefit of other readers, I clarified that Ethos' guide targeted devkitARM R11, as do any guides I post (until I have the time to try to port my own projects to R12). The older version also has an advantage that it works with currently available (albeit more inaccurate than even Nesticle) emulators.


The fact remains that this guide is no longer suitable for dkARM r11 - r12 is the first to officially support NDS development & the hacks that were used on r11 are no longer available. r11 guides relating to gba/gp32 development should still be relevant.

r13 should be released soon(ish). This release will fix the problem with the gba crt0 amongst other fixes and updates for the other platforms.

Since people now appear to be making more use of the pineight tools I'd like to include those in r13 ( this means that they'd be available on linux, osx & windows). If you have any objections speak up :)

#45566 - tepples - Sun Jun 12, 2005 1:43 am

Most of the tools from Pin Eight.com/GBA are licensed under GPL or a permissive license similar to that of X11. Feel free to include them in devkitARM as long as you make source code available. There's even a tile editor in the PC section, although that one is reported not to run correctly on linux. (I don't have a linux installation due to unsupported HW and lack of time to figure out what to CD-burn and delete, so I can't fix it.)

But please don't include the tile conversion tools (most named bmp2whatever) found in, say, the TOD distro, as I'm working on much more general ones.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.