Error: Could not find build target "by"

I installed haxe, openfl, flixel, flixel-demos, etc…

I go to this flixel-demos project Flappybalt,

i try lime test android, then I get this Error: Could not find build target “by”, I have tried google for that, It seems have no answer about that, please help,

I am very new to haxe, and lime.

I can’t reproduce it here. Is anyone else having a similar problem?

What desktop platform are you running?

I have the same issue with the PiratePig and NyanCat examples.

Ubuntu 14.04 64bit
haxe 3.3.0
haxelib 3.2.0-rc.3

$ haxelib list
actuate: [1.8.6]
box2d: [1.2.3]
flixel: [3.3.11]
haxelib_client: [3.2.0-rc.3]
hxcpp: [3.2.102]
layout: [1.2.1]
lime-samples: [2.6.0]
lime: [2.6.4]
openfl-samples: [3.3.0]
openfl: [3.3.5]
swf: [2.0.3]

The Android target was set up with lime setup android. I get the same error message when I run lime test linux, but lime setup linux isn’t currently working (see this).

lime test flash works fine.

Hi guys, recenty I stepped in the same ***. As I understood the culprit was -source-header flag which by default set as "Generated by Haxe". You get it right? Spaces aren’t screened so building process goes wrong. As quick fix you could just override this flag like
lime test mac -Dsource-header=0

This fixed it for me. Thank you!

Ah, so the occurs with development Haxe builds?

Yes. This discussion about the Options.txt format might be related.

Could you share what your Options.txt looks like?

For the PiratePig example. Without -Dsource-header=0:

HXCPP_M64=1
actuate=1.8.6
desktop=1
haxe3=1
haxe_ver=3.3
hxcpp_api_level=321
lime=2.6.4
lime-cairo=1
lime-curl=1
lime-native=1
lime-openal=1
lime-opengl=1
lime_cairo=1
lime_curl=1
lime_native=1
lime_openal=1
lime_opengl=1
linux=1
native=1
no-compilation=1
no_compilation=1
openfl=3.3.5
openfl-native=1
openfl-next=1
openfl_native=1
openfl_next=1
source-header=Generated by Haxe
tools=2.6.4
hxcpp=/usr/lib/haxe/lib/hxcpp/3,2,102/

With -Dsource-header=0:

HXCPP_M64=1
actuate=1.8.6
desktop=1
haxe3=1
haxe_ver=3.3
hxcpp_api_level=321
lime=2.6.4
lime-cairo=1
lime-curl=1
lime-native=1
lime-openal=1
lime-opengl=1
lime_cairo=1
lime_curl=1
lime_native=1
lime_openal=1
lime_opengl=1
linux=1
native=1
no-compilation=1
no_compilation=1
openfl=3.3.5
openfl-native=1
openfl-next=1
openfl_native=1
openfl_next=1
source-header=0
source_header=0
tools=2.6.4
hxcpp=/usr/lib/haxe/lib/hxcpp/3,2,102/

I tried adding <haxedef name="source-header" value="Generated by Haxe" /> to a project in Haxe 3.2.0 and it worked, strangely :confused:

My Options.txt looks similar. I did this on Windows and Linux. Weird.