如何正确安装和设置Flambe? [英] How to properly install and set up Flambe?

查看:237
本文介绍了如何正确安装和设置Flambe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循这里的指示,创建了一个新项目并试图运行但我得到的只是一个黑色的网页。我不确定build命令是否正常工作(我从来没有这样做过)。

然后我试着把haxe降级到3.1.3并重新安装Flambe,就像在这里提到了 。试图运行该项目时,我仍然得到一个黑色的页面。这是在控制台中使用build命令(降级后)的结果:

 编译:build / web 
haxe -main urgame.Main -lib flambe -cp src -dce full -debug -no-opt -no inline -D html -D js-es5 -D js-flatten --macro flambe.platform.ManifestBuilder.use( build / web / assets)-D source-map-content -js build / web / targets / main-html.js

Building / web / targets / main-flash.swf
haxe -main urgame.Main -lib flambe -cp src -dce full -debug -no-opt -no-inline --macro flambe.platform.ManifestBuilder.use(build / web / assets) - -flash strict -swf-header 640:480:60:000000 -D fdb -D advanced-telemetry -swf-version 11.2 -swf build / web / targets / main-flash.swf

C: \ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:761:字符13-14:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:Int,访问:未知< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:761:字符13-14:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:101:characters 10-90:{t:format.agal.RegType,swiz :format.agal.Swizzle,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:103:字符9-136:{t:format .agal.RegType,swiz:format.agal.Swizzle,index:Int,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:591:字符12-13:{t:format.agal.RegType,swiz:Array< format .agal.C> ;,索引:int,访问:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:591:字符12-13:对于函数参数src
C:\ HaxeToolkit\haxe\lib \ hxsl / 2,0,5 / hxsl / AgalCompiler.hx:598:字符15-16:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int,access:{ t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:598:字符15-16:对于函数参数dst
C: \ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:599:字符14-15:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,index:Int,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\\ \\ lib \ hxsl / 2,0,5 / hxsl / AgalCompiler.hx:599:字符14-15:对于函数参数'src'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:623:字符8-9:{t:format.agal.RegType,swiz:数组< format.agal.C> ;,索引:int,访问:{t:format。 agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl /AgalCompiler.hx:623:字符8-9:对于函数参数'dst'
C:\ HaxeToolkit \ haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:568:字符18-19:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int ,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl /2,0,5/hxsl/AgalCompiler.hx:568:字符18-19:对于函数参数'dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 /hxsl/AgalCompiler.hx:569:字符3-8:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int,访问:{t:format.agal.RegType,offset :Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx: 573:字符18-19:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int,访问:{t:format.agal.RegType,offset:Int,comp:format。 agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxs l / 2,0,5 / hxsl / AgalCompiler.hx:573:字符18-19:对于函数参数'dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0, 5 / hxsl / AgalCompiler.hx:574:字符3-8:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:Int,访问:{t:format.agal.RegType, offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx :500:字符18-77:{t:format.agal.RegType,swiz:Array< format.agal.C> ;, index:Int,access:Unknown< }应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:500:字符18-77:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:501:字符18-77:{t:format.agal.RegType,swiz :Array< format.agal.C>,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:501:字符18-77:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:502:字符18-77:{t:format.agal.RegType,swiz :Array< format.agal.C>,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:502:字符18-77:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:503:字符15-74:{t:format.agal.RegType,swiz :Array< format.agal.C>,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:503:字符15-74:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:524:字符12-30:Void应该是format.agal.Opcode
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:524:字符12-30:对于函数参数x
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:525:个字符12-52:Void应该是format.agal.Opcode
C:\ HaxeToolkit\haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:525:字符12-52:对于函数参数x
C:\ HaxeToolkit\haxe\lib\hxsl /2,0,5/hxsl/AgalCompiler.hx:526:字符12-52:Void应该是format.agal.Opcode
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0 ,5 / hxsl / AgalCompiler.hx:526:字符12-52:对于函数参数'x'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:507:字符18-77:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:Int,访问:未知的< 0> }应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:507:字符18-77:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:508:字符18-77:{t:format.agal.RegType,swiz :Array< format.agal.C>,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:508:字符18-77:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:509:字符15-74:{t:format.agal.RegType,swiz :Array< format.agal.C>,index:Int,access:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:509:字符15-74:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:542:字符12-31:Void应该是format.agal.Opcode
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:542:字符12-31:对于函数参数x
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:543:个字符12-53:Void应该是format.agal.Opcode
C:\ HaxeToolkit\haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:543:个字符12-53:对于函数参数x
C:\ HaxeToolkit\haxe\lib\hxsl /2,0,5/hxsl/AgalCompiler.hx:639:字符5-9:a1:format.agal.Reg - > r1:format.agal.Reg - > r2:format.agal.Reg - >空格应该是a2:format.agal.Reg - > a:format.agal.Reg - > b:format.agal.Reg - >空< format.agal.Opcode>
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:639:字符5-9:不能统一返回类型
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:639:字符5-9:Void应该为空< format.agal.Opcode>
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:639:字符5-9:Void应该是format.agal.Opcode
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:649:characters 4-11:dst:format.agal.Reg - > a:format.agal.Reg - > b:format.agal.Reg - > format.agal.Opcode应该是Void
C:\ HaxeToolkit\haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:633:字符3-7:Void应该是dst :format.agal.Reg - > a:format.agal.Reg - > b:format.agal.Reg - > format.agal.Opcode
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:668:字符20-21:{t:format.agal。 RegType,swiz:数组< format.agal.C> ;,索引:int,访问:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:668:字符20-21:对于函数参数dst
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:669:字符14-15:{t:format.agal.RegType,swiz:Array< format.agal.C> ;, index:Int,访问:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib \ hxsl / 2,0,5 / hxsl / AgalCompiler.hx:669:字符14-15:对于函数参数'src'
C:\ HaxeToolkit \haxe\lib\hxsl / 2, 0,5 / hxsl / AgalCompiler.hx:675:字符19-20:{t:format.agal.RegType,swiz:Array& lt; format.agal.C> ;, index:Int,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C: \ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:675:个字符19-20:对于函数参数'r'
C:\ HaxeToolkit \haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:676:字符8-9:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:Int, access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:676:字符8-9:对于函数参数'dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:677:字符49-50:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int,access:{t:format.agal.RegType,offset: Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:677:字符49-50:对于函数参数a
C:\ HaxeToolkit\haxe\lib\hxsl /2,0,5/hxsl/AgalCompiler.hx:684:字符9-10:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int,access:{t:format .agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:684:字符9-10:函数参数'dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx: 704:字符49-101:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:Int,访问:Unknown< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:704:字符49-101:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:704:字符3-7:Void应该是dst:format.agal.Reg - > v:format.agal.Reg - > format.agal.Opcode
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:712:字符8-9:{t:format.agal。 RegType,swiz:数组< format.agal.C> ;,索引:int,访问:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:712:字符8-9:对于函数参数dst
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:742:字符23-27:{t:format.agal.RegType,swiz:Array< format.agal.C> ;, index:Int,访问:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib \ hxsl / 2,0,5 / hxsl / AgalCompiler.hx:742:字符23-27:对于函数参数'pt'
C:\HaxeToolkit\haxe\lib\hxsl / 2, 0,5 / hxsl / AgalCompiler.hx:188:字符13-65:{t:format.agal.RegType,swiz:Unknown< 1> ;,索引:Int,访问:未知< 0> }应该是format.agal.Reg
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:188:字符13-65:对于函数参数' dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:200:字符14-15:{t:format.agal.RegType,swiz :Array< format.agal.C> ;, index:Int,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C :\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:200:个字符14-15:对于函数参数dst
C:\ HaxeToolkit \ haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:201:字符8-9:{t:format.agal.RegType,swiz:Array< format.agal.C> ;,索引:int ,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit\haxe\lib\hxsl /2,0,5/hxsl/AgalCompiler.hx:201:字符8-9:对于函数参数'dst'
C:\ HaxeToolkit \haxe\lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:206:字符12-13:{t:format.agal.RegType,swiz:Array< format。 agal.C> ;, index:Int,access:{t:format.agal.RegType,offset:Int,comp:format.agal.C}}应该是format.agal.Reg
C:\ HaxeToolkit \\ haxe \lib\hxsl / 2,0,5 / hxsl / AgalCompiler.hx:206:个字符12-13:对于函数参数dst
C:\ HaxeToolkit\haxe\lib\\ \\ hxsl / 2,0,5 / hxsl / AgalCompiler.hx:233:字符10-156:{t:format.agal.RegType,swiz:format.agal.Swizzle,index:Int,access:Null< {t: format.agal.RegType,偏移量:Int,comp:format.agal.C}> }应该是format.agal.Reg

build命令是否正常工作?



为什么在使用flambe serve命令运行项目时会看到一个黑屏?

另外,你知道哪里可以我找到了安装Flambe的最新指令?

解决方案

这些错误似乎与这个问题报告。因此,似乎解决方案是降级格式库到 3.2.0 或获取最新的格式 hxsl 版本(或者至少在问题被关闭的时候是这样)


I have followed the instructions here, created a new project and tried to run it but all I got was a black web page. I'm not sure if the build command worked properly (I've never done it before).

Then I tried downgrading haxe to 3.1.3 and reinstall Flambe, like mentioned here. I still get a black page when trying to run the project. Here is the result of using the build command in console (after the downgrade):

Building: build/web
haxe -main urgame.Main -lib flambe -cp src -dce full -debug --no-opt --no inline -D html -D js-es5 -D js-flatten --macro flambe.platform.ManifestBuilder.use("build/web/assets") -D source-map-content -js build/web/targets/main-html.js

Building: build/web/targets/main-flash.swf
haxe -main urgame.Main -lib flambe -cp src -dce full -debug --no-opt --no-inline --macro flambe.platform.ManifestBuilder.use("build/web/assets") --flash strict -swf-header 640:480:60:000000 -D fdb -D advanced-telemetry -swf-version 11.2 -swf build/web/targets/main-flash.swf

C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:761: characters 13-14 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:761: characters 13-14 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:101: characters 10-90 : { t : format.agal.RegType, swiz : format.agal.Swizzle, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:103: characters 9-136 : { t : format.agal.RegType, swiz : format.agal.Swizzle, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:591: characters 12-13 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:591: characters 12-13 : For function argument 'src'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:598: characters 15-16 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:598: characters 15-16 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:599: characters 14-15 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:599: characters 14-15 : For function argument 'src'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:623: characters 8-9 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:623: characters 8-9 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:568: characters 18-19 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:568: characters 18-19 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:569: characters 3-8 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:573: characters 18-19 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:573: characters 18-19 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:574: characters 3-8 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:500: characters 18-77 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:500: characters 18-77 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:501: characters 18-77 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:501: characters 18-77 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:502: characters 18-77 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:502: characters 18-77 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:503: characters 15-74 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:503: characters 15-74 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:524: characters 12-30 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:524: characters 12-30 : For function argument 'x'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:525: characters 12-52 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:525: characters 12-52 : For function argument 'x'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:526: characters 12-52 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:526: characters 12-52 : For function argument 'x'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:507: characters 18-77 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:507: characters 18-77 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:508: characters 18-77 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:508: characters 18-77 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:509: characters 15-74 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:509: characters 15-74 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:542: characters 12-31 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:542: characters 12-31 : For function argument 'x'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:543: characters 12-53 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:543: characters 12-53 : For function argument 'x'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:639: characters 5-9 : a1 : format.agal.Reg -> r1 : format.agal.Reg -> r2 : format.agal.Reg -> Void should be a2 : format.agal.Reg -> a : format.agal.Reg -> b : format.agal.Reg -> Null< format.agal.Opcode>
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:639: characters 5-9 : Cannot unify return types
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:639: characters 5-9 : Void should be Null<format.agal.Opcode>
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:639: characters 5-9 : Void should be format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:649: characters 4-11 : dst : format.agal.Reg -> a : format.agal.Reg -> b : format.agal.Reg -> format.agal.Opcode should be Void
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:633: characters 3-7 : Void should be dst : format.agal.Reg -> a : format.agal.Reg -> b : format.agal.Reg -> format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:668: characters 20-21 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:668: characters 20-21 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:669: characters 14-15 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:669: characters 14-15 : For function argument 'src'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:675: characters 19-20 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:675: characters 19-20 : For function argument 'r'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:676: characters 8-9 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:676: characters 8-9 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:677: characters 49-50 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:677: characters 49-50 : For function argument 'a'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:684: characters 9-10 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:684: characters 9-10 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:704: characters 49-101 :  { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:704: characters 49-101 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:704: characters 3-7 : Void should be dst : format.agal.Reg -> v : format.agal.Reg -> format.agal.Opcode
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:712: characters 8-9 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:712: characters 8-9 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:742: characters 23-27 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:742: characters 23-27 : For function argument 'pt'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:188: characters 13-65 : { t : format.agal.RegType, swiz : Unknown<1>, index : Int, access : Unknown<0> } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:188: characters 13-65 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:200: characters 14-15 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:200: characters 14-15 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:201: characters 8-9 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:201: characters 8-9 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:206: characters 12-13 : { t : format.agal.RegType, swiz : Array<format.agal.C>, index : Int, access : { t : format.agal.RegType, offset : Int, comp : format.agal.C } } should be format.agal.Reg
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:206: characters 12-13 : For function argument 'dst'
C:\HaxeToolkit\haxe\lib\hxsl/2,0,5/hxsl/AgalCompiler.hx:233: characters 10-156 : { t : format.agal.RegType, swiz : format.agal.Swizzle, index : Int, access : Null<{ t : format.agal.RegType, offset : Int, comp : format.agal.C }> } should be format.agal.Reg

Is the build command working properly ?

Why am I seeing a black page when running the project using the "flambe serve" command ?

Alternatively, do you know where can I find up-to-date instructions of installing Flambe ?

解决方案

Those errors seem to be indentical with this issue report. So it seems like the solution is to either downgrade the format library to 3.2.0 or to get the latest format and hxsl versions (or at least whatever those were at the time the issue was closed).

这篇关于如何正确安装和设置Flambe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆