Game Development Reference
In-Depth Information
Luckily, Marmalade has made this incredibly easy for us. At the top of the Visual
C++ window, you should see a drop-down box that defaults to a setting called
(x86) Debug
.
If you open the drop-down box, you will see several build types pre-configured for
us, but the one we are interested in is the
GCC (ARM) Release
option. Select this
and build the solution again (
Build
|
Build Solution
or press
F7
), and Visual C++
will use the GCC compiler to create an ARM version of our application.
Now we just need to get the code onto a device!
Deploying the "Hello World" project
Now that we have an ARM-compiled version of our code, we need to create an
install package so we can test it on a real mobile device. To do this we need to
use
Marmalade System Deployment Tool
. Follow these steps to go through the
deployment process:
1.
To launch the tool, make sure the
GCC (ARM) Release
build type is selected
and the code has been compiled. Select
Debug | Start Debugging
(or press
F5
). Instead of running the code in the debugger (which would make little
sense given that the Visual C++ debugger can only debug an Intel x86
executable),
Marmalade System Deployment Tool
will be launched instead.
Search WWH ::
Custom Search