TownGeneratorOS
TownGeneratorOS copied to clipboard
Type not found: lime.graphics.Renderer
When I try to get the project running, i am getting an error with the lime package. Source/com/watabou/utils/Updater.hx:3: characters 7-29 : Type not found : lime.graphics.Renderer
versions: lime: [7.0.0] msignal: [1.2.4] openfl: [8.4.1]
This config of packages seems to work:
lime: [5.3.0] msignal: [1.2.4] openfl: [6.0.1]
Hey, Could it be that I also need an older version of haxe? First i got the following message: Invalid -main : com.watabou.towngenerator.Main does not have static function main So I added "static public function main()" myself
However than it I get "/usr/local/lib/haxe/lib/openfl/6,0,1/openfl/display/DisplayObjectContainer.hx:47: characters 22-50 : t : openfl._Vector.IVector<openfl.display.DisplayObject> -> length : Int -> fixed : Bool -> openfl._Vector.ObjectVector<openfl.display.DisplayObject> should be openfl._Vector.IVector<openfl.display.DisplayObject> -> openfl._Vector.ObjectVector<openfl.display.DisplayObject>"
The command i run is: haxe -main com.watabou.towngenerator.Main -lib lime -lib openfl -lib msignal
d:\HAXE\TownGeneratorOS-master\Source>haxe -main com.watabou.towngenerator.Main -lib lime -lib openfl -lib msignal
d:\HaxeToolkit\haxe\lib\openfl/6,0,1/haxe/io/FPHelper.hx:160: characters 29-52 : Class<neko.NativeString> has no field alloc
d:\HaxeToolkit\haxe\lib\openfl/6,0,1/haxe/io/FPHelper.hx:69: characters 29-52 : Class<neko.NativeString> has no field alloc
d:\HaxeToolkit\haxe\lib\openfl/6,0,1/haxe/io/FPHelper.hx:240: characters 4-15 : haxe.Int64 has no field set_low
d:\HaxeToolkit\haxe\lib\openfl/6,0,1/haxe/io/FPHelper.hx:241: characters 4-16 : haxe.Int64 has no field set_high
d:\HaxeToolkit\haxe\lib\lime/5,3,0/haxe/io/Bytes.hx:366: characters 16-21 : Cannot access private field low
d:\HaxeToolkit\haxe\lib\lime/5,3,0/haxe/io/Bytes.hx:367: characters 20-26 : Cannot access private field high
D:\HaxeToolkit\haxe\std/neko/vm/Tls.hx:30: characters 6-18 : Primitive not found std@tls_create:0
running a really old 2.1 of haxe does not help d:\HAXE\TownGeneratorOS-master\Source>haxelib install lime No such Project : lime d:\HAXE\TownGeneratorOS-master\Source>haxelib Haxe Library Manager 1.03 - (c)2006 Motion-Twin
@Sult I get the same error message as you do following @Derfies package advice. This is my first time looking at anything Haxe related. Nightmare that there's no hxml file!
For people curious about this generator that have trouble making this thing work, I don't know anything about haxe, but I got it to work on my fork here: https://github.com/grandemk/TownGeneratorOS
Hey, Superthanks. this actually got it running for me as well.