Using+Eclipse+on+a+Mac - 
 
...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 
 
 USING
ECLIPSE
AND
THE
GBA
 1. Download
eclipse:
http://www.eclipse.org/downloads/

 
 
 
 
 
 
 
 
 2. Install
the
c/c++
developer
tools
 a. Click
on
help
‐>
software
updates…
 
 
 
 
 b.
Click
on
“available
software,”
then
“Ganymede,”
and
finally
check
“c
and
 c++
development.”
Click
“Install…”
and
allow
it
to
install.
 
 3. Download
devkitARM
and
stick
the
entire
folder
in
a
convenient
location:
 http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207&rele ase_id=646291

 a. Make
sure
to
pick
the
one
that
matches
your
architecture!
 
 4. Download
the
GBA
Template
for
Eclipse,
and
also
stick
it
somewhere.
Don’t
 unzip
it:
 http://kylelemons.net/download/GBATemplate‐Eclipse.zip
 
 
 
 
 HOW
TO
OPEN
A
PROJECT
 
 
 1. File
‐>
New
‐>
Project
 
 
 
 
 
 
 
 
 
 2. 
 General
‐>
Project
 
 
 
 3. 4. Give
your
project
a
name,
and
hit
“Finish.”
 
 Right
click
your
project
on
the
left
toolbar,
and
select
“Import…”
 
 
 
 5. 
 Choose
“Archive
File”
and
select
“Next
>”
 
 
 6.
Browse
to
and
select
the
GBA
Template,
check
“Overwrite
existing
resources
 without
warning”
and
click
“Finish.”
 
 
 7. At
the
top
of
the
MakeFile,
change
“DKPATH
=
…”
to
wherever
you
put
the
 devkitARM
folder.

Also,
change
“PRODUCT_NAME
=
…”
to
your
project
name:
 
 
 
 
 8. Go
to
Window
‐>
Open
Perspective
‐>
Other…
and
select
“C/C++”
 
 
 
 9. Go
to
Eclipse
‐>
Save
All,
and
click
on
the
hammer
icon
(under
the
gap
 between
“Refactor”
and
“Navigate”)
to
build
the
project.

You
should
always
 do
a
Save
All
before
bulding
your
project.
There
should
be
some
output
on
the
 console
tab
in
the
bottom
of
the
screen.

This
is
also
where
errors
are
 reported:
 
 
 
 
 
 
 10. The
console
may
output
black
text
on
a
black
background,
change
this
in
 Eclipse
‐>
Preferences
‐>
C/C++
‐>
Build
Console.

Changing
the
text
to
white
 should
do
it.
 
 
 
 11. To
run,
click
[PROJECT].gba
on
the
left
toolbar
(if
your
project
is
not
named
 “testgba”,
you
can
remove
the
“testgba.gba”
and
“testgba.elf”
files.

These
were
 originially
in
the
zip
file.).

Alternately,
on
the
“Make
Targets”
tab
on
the
right,
 click
“run.”

This
should
open
Visual
Boy
Advance
(or
whatever
emulator
you
 have)
with
your
project.
 
 ...
View Full Document

This note was uploaded on 01/27/2011 for the course CS 1372 taught by Professor Smith during the Spring '07 term at Georgia Institute of Technology.

Ask a homework question - tutors are online