No, you do *not* need a cross-compiler environment, or separate external toolchain, or a copy of the PandoraOS Angstrom environment, to build fast, 3D apps for the Pandora, in C/C++. All you need is the Pandora ITSELF!
Introducing PandoraWakeBreaker, a demonstration project for developers to use to evaluate the ability of the Pandora OS to natively host its own development tools!
Here is the README:
This is a port of WakeBreaker to the Pandora Game console OS (Zaxxon), by Jay Vaughan. The purpose of this package is to give budding developers a leg-up with getting something running for the Pandora, by using the Pandora itself! http://w1xer.at/pandora/ Based on the Original WakeBreaker code by Peter Angstadt http://pete.nextraztus.com/projects.html (Peter, if you're out there, contact me please!) Introduction: ---------------- WakeBreaker is a very simple game - see the description.txt and license.txt files for info. Its not going to make any gamer happy, but it *does* provide an excellent resource for programmers who want to get started and understand how to get all this stuff working. I ported this very nice little GL ES 1.1 demo, WakeBreaker, to the Pandora OS. Rather than fool around with cross-compilers and toolchains and other bloaty baggage, I opted to go the other non- popular way, and simply use the tools available in Angstrom for the Pandora OS itself. Yes, kids, you *can* use your Pandora to write software for the Pandora! It works, its not slow (well, its acceptable to this old grey-beard), and its quite fun not to have to deal with libaries and paths and so on .. No cross-compiler required! The Pandora is more than enough machine for the job of building software! Far greater software has been built on lesser machines than your average over-spec'ed PC! How to use this source package: ---------------------------------- If you haven't already done so, you'll need to install some developer tools on your Pandora. This is the order in which I did it: #to get root rights to do the rest .. you could prefix 'sudo' on all the following cmds instead if you wish, though .. sudo bash opkg update opkg install gcc_4.3.3 gcc-symlinks gcc-doc make_3.81 make-dev binutils-dev vim_7.2 vim-syntax opkg install cpp cpp-symlinks opkg install g++_4.3.3 g++-symlinks opkg install libstdc++-dev opkg install libgles-omap3-dev libgles-omap3-demos opkg install libsdl-1.2-dev libsdl-gfx-dev libsdl-image-1.2-dev libsdl-mixer-dev libsdl-net-1.2-dev libsdl-ttf-2.0-dev (vim and omap3-demos packages not required, but you might be interested in those demos, and you might be a vim user too!) Simply unpack this tarball somewhere on your Pandora/, cd to the PandoraWakeBreaker directory, and type 'make'. This will build the "PandoraWakeBreaker" executable, which you can then run directly either from the shell, or from the file manager GUI. PND not necessary - this is a developer demo, not for release to users. Note: ------- This is a bit buggy right now - to get things started, I borrowed a lot of code from the GLES2D package, which is sorta messy, and there are for sure things that can be done to make the code in main.cpp (primary Pandora-specific stuff) a lot cleaner. I want to get this out there now though, for those who are in despair about how much work it takes to get the cross-compiler/toolchain setup for their Pandora - you don't need to go through the hassle, folks! Just Use Your Pandora! How to play: -------------- See description.txt - its a racing game, get all the balls before the enemy player! Use the arrow keys to move. Questions? ------------ For questions about this port, contact Jay Vaughan (ibisum @ gmail . com **or** PM 'torpor' on the #openpandora IRC channel, or in the GP32X forums)
NOTE: I intentionally did not make a PND of the PandoraWakeBreaker executable because this project is for *developers only* right now (its got some bugs left to be fixed), but if someone else wants to do it and put it up and out there, please be my guest. Note that it wouldn't be bad if you fixed a few bugs first, however ..
Edited by torpor, 08 July 2010 - 08:17 AM.











