flambe-guide icon indicating copy to clipboard operation
flambe-guide copied to clipboard

Installation instructions are misleading for current state of Haxe (3.2.1) and Flambe (4.1.0)

Open pluginmedia opened this issue 8 years ago • 2 comments

Things are a bit of a mess with Flambe/current Haxe version right now, so I'm posting this as assistance to anyone else who's stuck.

The only way I could get a working setup which can build both HTML and Flash without error:

  • Cleanly install Haxe version 3.1.3 (If a later version is already installed on OSX, remove /usr/lib/haxe, /usr/local/lib/haxelib, /usr/bin/haxe, /usr/bin/haxelib)
  • 'haxelib setup', select whatever path suits
  • 'npm install -g flambe' to install the flambe command line tool
  • Cleanly install Flambe: ('haxelib install flambe')
  • Roll back the 'format' lib version: 'haxelib install format 3.1.2', 'haxelib set format 3.1.2'

My current, functional haxelib list looks like this, on Haxe 3.1.3:

air3: [0.0.1] flambe: [4.1.0] format: [3.1.2] 3.2.1 hxsl: 2.0.3 [2.0.5]

...It took me over a day to get this stability back into the toolchain, so hopefully this'll save someone else a bit of time.

pluginmedia avatar Nov 25 '15 10:11 pluginmedia

Hi, Thanks for your instructions. A few questions:

  • Why would you install Haxe 3.1.3 instead of 3.2.1? That is when you don't want to use the latest git version I guess.
  • What error do you get when you don't use formal 3.1.2? I haven't experienced errors with it while I've installed Flambe on quite some machines. Maybe it's because of OSX, because I only installed on Windows PC's.

cc @aduros Why don't you push a new version that is compatible with Haxe 3.2? This is really becoming awkward for lot of users.

markknol avatar Nov 25 '15 12:11 markknol

My (large) client has systems in their CI process which make tinkering with major release versions of the library overly complicated, so I can't patch Flambe, nor rely on the Git sources. I also couldn't get the latter to work with Haxe 3.2.1 (various obscure issues relating to the Shader classes when building the Flash target which I didn't make a note of [these relate to the 'format' lib roll back]).

It's simpler in my case to just rely on an instance of sources from a time when things worked seamlessly!

pluginmedia avatar Nov 25 '15 15:11 pluginmedia