haxe - Flashdevelop / HaxePunk: Build halted with errors -


i've been trying follow this tutorial started haxepunk. using flashdevelop , have got trying run program after adding logo.png. however, when run program following output:

running process: c:\program files (x86)\flashdevelop\tools\fdbuild\fdbuild.exe "d:\haxe projects\prj_starting\prj_starting.hxproj" -ipc f201d2c5-2ffe-46d4-bb54-c67a3e34ab4a -version "3.2.1" -compiler "c:\program files\haxetoolkit\haxe" -library "c:\program files (x86)\flashdevelop\library" -target "neko"  building prj_starting running pre-build command line... cmd: "c:\program files\haxetoolkit\haxe/haxelib" run lime build "project.xml" neko -debug -dfdb [file_contents,c:\program files\haxetoolkit\haxe\lib\lime//.current] build halted errors. done(1) 

no error specific error given unsure wrong. have followed tutorial , these classes:

main.hx

import com.haxepunk.engine; import com.haxepunk.hxp;  class main extends engine {      override public function init()     { #if debug         hxp.console.enable(); #end         hxp.scene = new mainscene();     }      public static function main() { new main(); }  } 

mainscene.hx

import com.haxepunk.scene;  class mainscene extends scene {     public override function begin()     {         add(new logo());     } } 

logo.hx

package src; import com.haxepunk.entity; import com.haxepunk.graphics.image; import com.haxepunk.utils.input; import com.haxepunk.utils.key;  /**  * logo entity.  * @author abigail smith  */  class logo extends entity {      private var speed:int;      public function new()      {         super(270, 190);         speed = 5;         graphic = new image("graphics/logo.png");     }      public override function update():void {         if (input.check(key.right)) {             moveby(speed, 0);         }         if (input.check(key.left)) {             moveby(-speed, 0);         }         if (input.check(key.down)) {             moveby(0, speed);         }         if (input.check(key.up)) {             moveby(0, -speed);         }     } } 

any solving error appreciated. thank :)

it looks have problem 1 of library need called "lime".

[file_contents,c:\program files\haxetoolkit\haxe\lib\lime//.current] 
  1. open cmd , type haxelib list
  2. check if can see lime library there
  3. if it's there run haxelib update lime else need install running haxelib install lime

hope solves problem!


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -