Compatibilty with haxe 3.2

653 views
Skip to first unread message

Rafael Oliveira

unread,
Apr 8, 2015, 1:26:37 PM4/8/15
to fla...@googlegroups.com
I installed haxe 3.2 rc and I'm having many errors with flambe itself. Is it compatible with 3.2?

C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlPlatform.hx:76: characters 8-41 : js.html.DOMElement should be js.html.Element
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array<Int> should be haxe.io.BytesData
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array<Int> should be js.html.ArrayBuffer
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : For function argument 'b'
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:39: lines 39-45 : Missing return haxe.io.Bytes
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:364: characters 16-38 : String should be js.html.XMLHttpRequestResponseType
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:367: characters 12-37 : String should be js.html.XMLHttpRequestResponseType
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:368: characters 16-42 : String should be js.html.XMLHttpRequestResponseType
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:205: characters 12-43 : String should be js.html.XMLHttpRequestResponseType
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : js.html.Window should be haxe.Function
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : For function argument 'func'
C:\HaxeToolkit\haxe\lib\flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:25: lines 25-38 : Missing return Dynamic

Mark Knol

unread,
Apr 9, 2015, 6:03:19 PM4/9/15
to fla...@googlegroups.com
With this patch installed on the flambe installation, all should be good
https://github.com/aduros/flambe/commit/ec084011873cf16635f4e2a77cc0d2dc6c58625d

Rafael Oliveira

unread,
Apr 9, 2015, 6:12:12 PM4/9/15
to fla...@googlegroups.com
thanks, I will try haxelib git.

dudr...@gmail.com

unread,
May 14, 2015, 8:45:17 AM5/14/15
to fla...@googlegroups.com
did you manage to fix this?
i am having the same problem, what should i do?

zhaiyang

unread,
May 14, 2015, 10:45:17 AM5/14/15
to fla...@googlegroups.com, dudr...@gmail.com
down load https://github.com/aduros/flambe/tree/ec084011873cf16635f4e2a77cc0d2dc6c58625d

and then replace .

在 2015年5月14日星期四 UTC+8下午8:45:17,dudr...@gmail.com写道:

phas...@zehnergroup.com

unread,
Jul 6, 2015, 5:51:42 PM7/6/15
to fla...@googlegroups.com, dudr...@gmail.com
Help! I'm having this same issue. One I've downloaded the update how do I replace the files? I've tried just updating flambe and I'm still getting the errors.

al...@pluginmedia.net

unread,
Nov 24, 2015, 11:00:15 AM11/24/15
to Flambe

I've wasted a large portion of the day trying to reconcile the latest Flambe sources from Git, with Haxe 3.2.1 - things just are not working. I believe that the information given here is correct inasmuch as changes beyond 4.1.0 are necessary to enable Flambe to compile against the new compiler (these are merged in the latest Git revision), but errors still abound:

/usr/local/lib/haxe/std/Map.hx:141: lines 141-143 : haxe.ds.IntMap<toIntMap.V> should be IMap<toIntMap.K, toIntMap.V>
/usr/local/lib/haxe/std/Map.hx:141: lines 141-143 : haxe.ds.IntMap<toIntMap.V> should be haxe.IMap<toIntMap.K, toIntMap.V>
/usr/local/lib/haxe/std/Map.hx:141: lines 141-143 : Type parameters are invariant
/usr/local/lib/haxe/std/Map.hx:141: lines 141-143 : Int should be toIntMap.K
/usr/local/lib/haxe/std/Map.hx:137: lines 137-139 : haxe.ds.StringMap<toStringMap.V> should be IMap<toStringMap.K, toStringMap.V>
/usr/local/lib/haxe/std/Map.hx:137: lines 137-139 : haxe.ds.StringMap<toStringMap.V> should be haxe.IMap<toStringMap.K, toStringMap.V>
/usr/local/lib/haxe/std/Map.hx:137: lines 137-139 : Type parameters are invariant
/usr/local/lib/haxe/std/Map.hx:137: lines 137-139 : String should be toStringMap.K
/usr/local/lib/haxe/std/neko/vm/Tls.hx:30: characters 6-18 : Primitive not found std@tls_create:0
<builtin>:1: character 0 : Called from
/usr/local/lib/haxe/std/neko/vm/Tls.hx:24: lines 24-46 : Called from
/usr/local/lib/haxe/std/haxe/io/FPHelper.hx:33: characters 21-45 : Called from

I'm rolling back to Haxe 3.1.3 - things seem to work with this version.

fher...@gmail.com

unread,
Apr 26, 2016, 1:32:26 PM4/26/16
to Flambe, dudr...@gmail.com, phas...@zehnergroup.com
On Monday, July 6, 2015 at 4:51:42 PM UTC-5, phas...@zehnergroup.com wrote:
> Help! I'm having this same issue. One I've downloaded the update how do I replace the files? I've tried just updating flambe and I'm still getting the errors.

I did the same thing replaces the files but the same error persists. Guess I will try another framework. Too bad this one looked nice. But what good is it if I can't get it to work.

Mark Knol

unread,
Apr 26, 2016, 2:22:10 PM4/26/16
to Flambe
You can just use the latest git version that works.

Erin Gunn

unread,
May 3, 2016, 1:00:27 PM5/3/16
to Flambe, dudr...@gmail.com, phas...@zehnergroup.com, fher...@gmail.com
In addition to Mark Knols comment.  You can use Haxe Version Manager to switch between haxe versions easily.  This is what I do: https://github.com/jasononeil/hvm

The latest version of haxe that flambe works with out of the box is 3.1.3 I think.
Reply all
Reply to author
Forward
0 new messages