-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not compile project to html5 #346
Comments
Well, you probably have installed the newest Haxe version 3.2, which is good! 👍 To be compatible with Haxe 3.2, apply this patch: ec08401 |
Oh, thanks for the answer! 😄 And yup, just updated Haxe and all other libraries. Updated the files, I also had to update "HtmlExternal.hx" besides the ones you've mentioned. It worked like a charm! Time to study Haxe a bit harder now! 😅 Thanks again! |
Make sure you read:
|
Already diggin' through! 💦 Thanks. 😉 |
nvm, found it! c2f3e02 |
Hi I'm very new to this flambe stuff and I having the same problem with yuigoto. |
Hi! I'm studying haxe and I wanted to try some game/app engines to see which one I feel more comfortable with.
Just installed flambe and all its dependencies, but I came upon these errors, when building a blank project while targeting html5 (as described in the install guide):
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 C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array should be haxe.io.BytesData C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array should be js.html.ArrayBuffer C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : For function argument 'b' C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:39: lines 39-45 : Missing return haxe.io.Bytes C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:364: characters 16-38 : String should be js.html.XMLHttpRequestResponseType C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:367: characters 12-37 : String should be js.html.XMLHttpRequestResponseType C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:368: characters 16-42 : String should be js.html.XMLHttpRequestResponseType C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:205: characters 12-43 : String should be js.html.XMLHttpRequestResponseType C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : js.html.Window should be haxe.Function C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : For function argument 'func' C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:25: lines 25-38 : Missing return Dynamic
Maybe I didn't install it properly? 😅 Anyone knows what's happening here?
Thanks. 😄
The text was updated successfully, but these errors were encountered: