Download haXe from www.haxe.org
Install it by running the program as root.
Ensure that the regular expression library is installed:
urpmi pcre
ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.3
Configure haXe
haxelib setup
haxelib install hxcpp
haxelib install nme
haxelib install neash
As a mortal user:
haxelib setup
haxelib list
mkdir test
cd test
cp /usr/lib/haxe/lib/neash/*/samples/07-Graphics/* .
haxe Compile.hxml
haxe Cpp.hxml
Reword This:
What is Hxcpp? Hxcpp is the c++ backend for haxe. This means you can compile haxe code to c++ code, and then compile this to a native executable, for Windows, Linux or Mac.
What is NME? NME is the “Neko Media” library that wraps SDL, providing gaming interfaces for neko, and now native compiled haxe code.
What is Neash? Neash is a compatability layer that presents the flash API to haxe code running on other systems, such as js, neko or c++ native code.
Together these allows you to write code to target flash SWF files, and also cross compile to native code for Windows, Linux or Mac.