Trouble Setting Up the Template Files

98 views
Skip to first unread message

Gmisail

unread,
Aug 11, 2014, 3:25:18 PM8/11/14
to haxef...@googlegroups.com
Hello, just to start off, I'm VERY new to Haxe, HaxeFlixel, Lime, OpenFl , etc. When I followed the Command Line tutorial, when I build the files I get this error:

Warning: Could not find template file: haxe


Warning: Could not find template file: flash/hxml


Warning: Could not find template file: flash/haxe


Fatal error: exception Failure("File not found bin/flash/haxe/release.hxml")


After searching Google, I have not found a solution. Help?

Gama11

unread,
Aug 12, 2014, 4:07:04 PM8/12/14
to haxef...@googlegroups.com
I've had that error in the past, for some reason it seems that lime-tools sometimes fails to generate the debug/release.hxml (depends on whether you're compiling a debug or release build).

I've had success simply copying the file over from another project / target. They file should be located in export/[target]/haxe and look something like this:

-main ApplicationMain 
-cp C:\HaxeToolkit\haxe\lib/flixel/git/
-D flixel=3.3.5
-cp C:\HaxeToolkit\haxe\lib/lime/1,0,0/
-D lime=1.0.0
-cp C:\HaxeToolkit\haxe\lib/openfl/2,0,0/
-D openfl=2.0.0
-cp source
-cp C:\HaxeToolkit\haxe\lib/openfl/2,0,0/backends/flash
-cp C:\HaxeToolkit\haxe\lib/openfl/2,0,0/backends/flash
-D FLX_RECORD
-D tools=1.5.5
-D FLX_NO_DEBUG
-D NAPE_RELEASE_BUILD
-D openfl-flash
-D FLX_RENDER_BLIT
-D web
-swf-version 11.8
-swf export/flash/bin/FlxProject.swf
-swf-header 640:480:60:000000
-cp export/flash/haxe
Reply all
Reply to author
Forward
0 new messages