Skip to content
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

Type not found: lime.graphics.Renderer #6

Open
Sult opened this issue Aug 15, 2018 · 7 comments
Open

Type not found: lime.graphics.Renderer #6

Sult opened this issue Aug 15, 2018 · 7 comments

Comments

@Sult
Copy link

Sult commented Aug 15, 2018

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]

@Derfies
Copy link

Derfies commented Aug 26, 2018

This config of packages seems to work:

lime: [5.3.0]
msignal: [1.2.4]
openfl: [6.0.1]

@Sult
Copy link
Author

Sult commented Aug 27, 2018

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

@twobob
Copy link

twobob commented Aug 28, 2018

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
:1: character 0 : Called from
D:\HaxeToolkit\haxe\std/neko/vm/Tls.hx:24: lines 24-46 : Called from
d:\HaxeToolkit\haxe\lib\openfl/6,0,1/haxe/io/FPHelper.hx:33: characters 21-45 : Called from
Aborted

@twobob
Copy link

twobob commented Aug 28, 2018

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

@awilliamson
Copy link

@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!

@grandemk
Copy link

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

@Sult
Copy link
Author

Sult commented Mar 24, 2020

Hey, Superthanks. this actually got it running for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants