2016-06-29 2 views
2

나는 지침을 따라 here을 만들었고 새 프로젝트를 만들었고 실행을 시도했지만 모두 검은 색 웹 페이지였습니다. 빌드 명령이 제대로 작동했는지는 확실하지 않습니다.Flambe를 올바르게 설치하고 설정하는 방법은 무엇입니까?

그런 다음 haxe를 3.1.3으로 다운 그레이드하고 here과 같이 Flambe를 다시 설치해 보았습니다. 프로젝트를 실행할 때 여전히 검은 색 페이지가 표시됩니다. 다음은 콘솔에서 빌드 명령을 사용한 결과입니다 (다운 그레이드 후).

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 

빌드 명령이 제대로 작동합니까?

"flambe serve"명령을 사용하여 프로젝트를 실행할 때 왜 검은 페이지가 표시됩니까?

또는 Flambe 설치에 대한 최신 지침은 어디에서 찾을 수 있습니까?

답변

1

이러한 오류는 this issue report으로 나타납니다. 따라서 해결책은 format 라이브러리를 3.2.0으로 다운 그레이드하거나 최신 formathxsl 버전을 얻는 것입니다 (또는 적어도 문제가 닫힌 시점에 있었던 모든 것).

+0

감사합니다. 지금은 작동한다고 생각합니다. 실행하면이 비행기가 움직이는 것을 볼 수 있지만이 [비디오] (https://www.youtube.com/watch?v=Q0eMZCQjhf4#t)에 나타나는 것과 같은 Default/Flash/Html5 링크는 볼 수 없습니다. = 3m44s). 왜 그런가? – Robert777

+0

확실하지 않습니다. 실제로 Flambe를 직접 사용해 보지 않았습니다. – Gama11

+0

@ Robert777 문제를 어떻게 해결했는지 물어볼 수 있습니까? 나는 똑같은 문제를 겪고있다. 그러나'haxelib install format 3.2.0'은 충분하지 않습니다. 왜냐하면'C : \ HaxeToolkit \ haxe \ lib \ flambe/git/src/flambe/platform/flash/FlashMouse.hx : 52 : characters 17-45 : 인라인 또는 읽기 전용 (기본, 절대) 필드 만 패턴으로 사용할 수 있습니다. ' – Joncom

관련 문제