Coder Social home page Coder Social logo

Comments (7)

Derfies avatar Derfies commented on June 3, 2024 1

This config of packages seems to work:

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

from towngeneratoros.

Sult avatar Sult commented on June 3, 2024 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

from towngeneratoros.

Sult avatar Sult commented on June 3, 2024 1

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

from towngeneratoros.

twobob avatar twobob commented on June 3, 2024

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

from towngeneratoros.

twobob avatar twobob commented on June 3, 2024

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

from towngeneratoros.

awilliamson avatar awilliamson commented on June 3, 2024

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

from towngeneratoros.

grandemk avatar grandemk commented on June 3, 2024

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

from towngeneratoros.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.