Heaps ?

414 views
Skip to first unread message

Jesus Boadas

unread,
Sep 5, 2014, 4:42:37 PM9/5/14
to haxe...@googlegroups.com
I was trying to give a try to the heaps library but can't get it to run,
I just do the following

haxelib git heaps  https://github.com/ncannasse/heaps

no problem here

the load the example 2d_swf in flashdevelop

and give me a bunch of errors:


C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOut.hx:44: characters 15-23 : Identifier 'RTexture' is not part of enum format.agal.RegType
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOut.hx:549: characters 14-22 : Identifier 'RTexture' is not part of enum format.agal.RegType
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOut.hx:129: lines 129-133 : { version : Int, fragmentShader : Bool, code : Array<format.agal.Opcode> } has extra field version
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOut.hx:27: lines 27-134 : Missing return format.agal.Data
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOptim.hx:118: characters 12-80 : Too many arguments
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOptim.hx:118: characters 12-80 : Function 'getProps' requires arguments : r, fragment
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOptim.hx:93: characters 13-22 : format.agal.Data has no field version
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOptim.hx:92: lines 92-96 : { version : Unknown<0>, fragmentShader : Bool, code : Array<format.agal.Opcode> } has extra field version
C:\HaxeToolkit\haxe\lib\heaps/git/hxsl/AgalOptim.hx:46: lines 46-97 : Missing return format.agal.Data
C:\HaxeToolkit\haxe\lib\heaps/git/h3d/impl/Stage3dDriver.hx:375: characters 13-39 : Class<format.agal.Tools> has no field toString (Suggestion: ofString)
Build halted with errors (haxe.exe).


for my little understand of this, is because heaps is under massive development,
so I want to ask if there is a way that I can get this to run.

Thanks

Ivan Tivonenko

unread,
Sep 5, 2014, 5:53:26 PM9/5/14
to haxe...@googlegroups.com
Just tried to compile - all ok.
Just what you use latest version of hxsl.

Best,
Ivan

Nicolas Cannasse

unread,
Sep 5, 2014, 6:32:01 PM9/5/14
to haxe...@googlegroups.com
Le 05/09/2014 22:42, Jesus Boadas a écrit :
> I was trying to give a try to the heaps library but can't get it to run,
> I just do the following
>
> haxelib git heaps https://github.com/ncannasse/heaps
>
> no problem here
>
> the load the example 2d_swf in flashdevelop
>
> and give me a bunch of errors:

Are you using latest "format" library ?

haxelib install format

Best,
Nicolas

Jesus Boadas

unread,
Sep 5, 2014, 8:32:08 PM9/5/14
to haxe...@googlegroups.com
For some reason when I upgrate hxsl,haxelib ask me to set format to 3.0.5 but I had format 3.1.0 already installed, so setting format 3.1.0 make everything work fine.

Thanks


Upgrade hxsl to 2.0.4 [y/n/a] ? y
Downloading hxsl-2,0,4.zip...
Download complete : 53156 bytes in 2.8s (18.1KB/s)
  Install haxelib.json
  Created hxsl/
  Install hxsl/AgalCompiler.hx
  Install hxsl/Compiler.hx
  Install hxsl/Data.hx
  Install hxsl/Debug.hx
  Install hxsl/Parser.hx
  Install hxsl/PicoBuild.hx
  Install hxsl/PicoShader.hx
  Install hxsl/PicoShaderInstance.hx
  Install hxsl/RuntimeCompiler.hx
  Install hxsl/Serialize.hx
  Install hxsl/Shader.hx
  Install hxsl/ShaderMacros.hx
  Install hxsl/ShaderTypes.hx
  Install hxsl/Unserialize.hx
  Current version is now 2.0.4
Done
Installing dependency format 3.0.5
You already have format version 3.0.5 installed
Set format to version 3.0.5 [y/n/a] ?

Nicolas Cannasse

unread,
Sep 6, 2014, 4:03:36 AM9/6/14
to haxe...@googlegroups.com
Le 06/09/2014 02:32, Jesus Boadas a écrit :
> For some reason when I upgrate hxsl,haxelib ask me to set format to
> 3.0.5 but I had format 3.1.0 already installed, so setting format 3.1.0
> make everything work fine.

You don't need hxsl, the new 3.0 version is directly integrated with heaps.

Best,
Nicolas

h.abdelra...@gmail.com

unread,
Nov 2, 2016, 4:02:00 PM11/2/16
to Haxe
Reply all
Reply to author
Forward
0 new messages