Plasmacore:Linux Projects
From Plasmaworks
Attention: Linux Platform DEFUNCT
The latest version of Ubuntu Linux ("Natty") has removed the Audiere library that Linux Plasmacore depends on, effectively breaking Linux Plasmacore. Linux Plasmacore is therefore defunct until further notice.
Overview
- Linux Plasmacore is currently intended to help develop games for other platforms rather than develop games for Linux specifically. Unlike Plasmacore for Windows and Mac - platforms which invest heavily in having distributable binaries that run across all systems - Linux is very much the opposite. Linux is geared towards "build from source", which makes it difficult to create pre-compiled binaries that will work across Linux varieties and architectures. Note: if any Linux gurus would like to volunteer to help us improve Plasmacore support for Linux distributables, please contact Abe.Pralle (at) plasmaworks.com.
- Linux Plasmacore requires the installation of the Slag language tools as a separate step: http://code.google.com/p/slag
- You must also install libsdl1.2-dev and libaudiere-dev separately (Ubuntu: "sudo apt-get install libsdl1.2-dev" etc.)
- Plasmacore supports Android development on Windows and Mac but this has not been tested/implemented on Linux.
- Use "if (defined(LINUX)) ..." to determine if your code has been targeted to Linux.
- Type "gogo build" to compile and run a VM-based build on Linux. The first compile will take a while as Plasmacore is built for your system; subsequent compiles will be very quick. Compared to XC builds, VM builds generally compile more quickly, run more slowly, and display errors on null reference accesses instead of crashing.
- Type "gogo build-xc" to cross-compile a project to pure C++. Compared to VM builds, XC builds compile more slowly, run more quickly, and crash on null pointer exceptions instead of displaying errors.
