error haxe.macro.#Context has no field fatalError compiling detox demo

90 views
Skip to first unread message

Jesus Boadas

unread,
Jan 6, 2014, 2:25:11 PM1/6/14
to haxe...@googlegroups.com
Just trying to compile Detox Todo demo and got the following error

C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1159: characters 20-38 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1094: characters 12-30 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1010: characters 44-62 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1024: characters 48-66 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1043: characters 24-53 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/WidgetTools.hx:1046: characters 16-45 : haxe.macro.#Context has no field fatalError
C:\HaxeToolkit\haxe\lib\Detox/0,15,0/src/dtx/widget/Widget.hx:16: characters 13-22 : Build failure

Im using haxe 3.0.1

already done haxelib selfupdate and haxe update.hxml

what Im missing ?

Thanks

Justin L Mills

unread,
Jan 6, 2014, 6:00:37 PM1/6/14
to haxe...@googlegroups.com
Not using detox directly but I am using pushstate which depends on it (
on my site justinfront.co.uk needs me to fix some stuff), but I ended up
having to use git versions, however that maybe because I am using git haxe.

But maybe update everything to git? These are the haxelib I needed for
pushstate to work.

Haxe Compiler 3.1.0 - rev 7384 - (C)2005-2013 Haxe Foundation
tink_core: 1.0.0-beta.4 git [dev:/usr/lib/hxlib/tink_core/git]
tink_macro: 0.1.1-beta git [dev:/usr/lib/hxlib/tink_macro/git]
detox: 0.14.0 git [dev:/usr/lib/hxlib/detox/git]
pushstate: 1.0.0-rc.4 git [dev:/usr/lib/hxlib/pushstate/git]

you can use the haxelib git command.

Best Justin

Jesus Boadas:

Jason O'Neil

unread,
Jan 6, 2014, 6:14:58 PM1/6/14
to haxe...@googlegroups.com
Hi,

The widget processing code in version 0.15.0 of detox requires "Context.fatalError", which is currently only available in a git version of Haxe.  My apologies, I didn't think about this dependency when I released 0.15.0.


They demonstrate how the "widgets" work with data binding etc.

With the detox library, it has been in a constant state of under-documentation for a long time now, my apologies.  I use it on several complex projects though so it is actively maintained and fairly stable.  If you need help getting started let me know,

Jason


--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages