Installation

  • You will need both neko and haXe. Please refer to the installation instructions of these projects. haXe might already deliver neko, depending on the platform you use. (Note: haXe and neko installation procedures are not as nice as they could be, on any platform. Please help those projects refining their installation method, if you care.)
  • Once haXe is fully installed, you can very easily get the current release version of Xinf:
    haxelib install xinf
    

This will get you the latest Xinf haxelib, which should include all neccessary DLLs/shared libraries for Windows and OSX that are needed by !Xinfnity and of course all relevant source code to develop Xinf apps for Flash and JavaScript, or Xinfinity. Alternatively, you can use the cutting-edge version from SVN to develop with - refer to XinfSvn.

Linux users (or people on other OSs than Windows or OSX) will need to have GLUT/freeglut, freetype, fontconfig and gdk-pixbuf-2 installed. I hope that the .ndlls delivered with the haxelib work fine along ABI-compatible release series of these libs. Maybe, though, you'll need to compile the bindings yourself from [XinfSvn SVN] (and probably consult the mailing list). Additionally, you'll need to manually install my patched version of !ShivaVG - to be found here.

  • Finally, for the time being, you'll need to add <your-haxelib-dir>/xinfinity-support/<xinf-version>/ndll/<platform>/ to your PATH (on Windows) or DYLD_LIBRARY_PATH on OSX. Sorry, I know this is tedious as it will have to be adjusted when the xinf version changes (once you do haxelib upgrade), but i tried hard and didn't get this to work automatically on OSX. If you have a good solution, please tell me.

(Note: when, one day, we'll be delivering Xinfinity-based Apps in platform-specific packages, or a Xinfinity player app, we'll likely create installers/bundles/whatevers to keep those issues away from the end user).

Running some Xinfinity-based neko module should complain when DYLD_LIBRARY_PATH/PATH is not set correctly and suggest a good value to add to it. Definitely it will fail when actually trying to use some of the libs.

That's it for installation, though.

If you got to here, proceed with trying out the [XinfSamples].