Code Monkey home page Code Monkey logo

Comments (7)

piotrzarzycki21 avatar piotrzarzycki21 commented on June 12, 2024 1

Just added call to @rat-moonshine #870 (comment) who knows best ant build, so maybe he will be able to point you with something.

from moonshine-ide.

joshtynjala avatar joshtynjala commented on June 12, 2024 1

However, Lime 8.0.2, OpenFL 9.2.2, and Feathers UI 1.2.0 should be compatible with Haxe 4.3. I'll take a look. Maybe I didn't update some of the OpenFL Flash externs properly.

It looks like we were using custom externs for AIR file classes instead of the ones provided by OpenFL/Lime, for some reason. I updated FileStream for Haxe 4.3 compatibility. It will still work with Haxe 4.2 and older as well.

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

@B-Interactive Congratulation, to your project!

Yes, you have being right on the Linux part - Moonshine do not builds on Linux, yet.

I see using the term unix creates confusion at you - perhaps we can change the term and use more OS-specific checks like, in here https://github.com/Moonshine-IDE/Moonshine-IDE/blob/master/ide/MoonshineSharedCore/build/build-lib.xml#L256 - to proceed for buildAppStorePKG only when it's OSX.

from moonshine-ide.

B-Interactive avatar B-Interactive commented on June 12, 2024

I've been wrestling with this some more, working to address the necessary checks and conditions to separately identify and handle a Linux build. I believe it's still a work in progress. Where it's currently failing, is the GUI core build step (line 1025).

(Lime 8.0.0, OpenFL 9.2.0, FeathersUI 1.0.0)

CompileGUICore:
     [echo] Compiling GUI Core SWC
     [exec] Warning : (WDeprecated) -swf-header has been deprecated, use -D swf-header instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/controls/LayoutGroup.hx:242: characters 16-27 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/FeathersControl.hx:151: characters 10-15 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/FeathersControl.hx:153: characters 10-15 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/FeathersControl.hx:408: characters 16-26 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/FeathersControl.hx:432: characters 33-43 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/controls/ScrollContainer.hx:203: characters 17-28 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/controls/supportClasses/BaseDividedBox.hx:289: characters 17-28 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/FeathersControl.hx:341: characters 10-15 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/MeasureSprite.hx:87: characters 9-15 : Normal variables cannot be accessed with 'super', use 'this' instead
     [exec] /haxe/lib/feathersui/1,0,0/src/feathers/core/MeasureSprite.hx:97: characters 9-15 : Normal variables cannot be accessed with 'super', use 'this' instead

If I force the use of the latest version of Lime, OpenFL and FeathersUI to address this, it fails at the same point, with this error:
(Lime 8.0.2, OpenFL 9.2.2, FeathersUI 1.2.0)

CompileGUICore:
     [echo] Compiling GUI Core SWC
     [exec] Warning : (WDeprecated) -swf-header has been deprecated, use -D swf-header instead
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field get_endian needed by flash.utils.IDataOutput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field get_objectEncoding needed by flash.utils.IDataOutput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field set_endian needed by flash.utils.IDataOutput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field set_objectEncoding needed by flash.utils.IDataOutput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field get_bytesAvailable needed by flash.utils.IDataInput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field get_endian needed by flash.utils.IDataInput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field get_objectEncoding needed by flash.utils.IDataInput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field set_endian needed by flash.utils.IDataInput is missing
     [exec] externs/flash/filesystem/FileStream.hx:3: characters 14-24 : Field set_objectEncoding needed by flash.utils.IDataInput is missing
     [exec] src/moonshine/data/preferences/MoonshinePreferences.hx:145: characters 38-44 : Float should be UInt
     [exec] src/moonshine/data/preferences/MoonshinePreferences.hx:145: characters 38-44 : ... For function argument 'length'
     [exec] externs/flash/filesystem/FileStream.hx:7: characters 6-20 : Field objectEncoding has different property access than in flash.utils.IDataInput (var should be (get,set))
     [exec] externs/flash/filesystem/FileStream.hx:6: characters 6-12 : Field endian has different property access than in flash.utils.IDataInput (var should be (get,set))
     [exec] externs/flash/filesystem/FileStream.hx:5: characters 6-20 : Field bytesAvailable has different property access than in flash.utils.IDataInput ((default,never) should be (get,never))
     [exec] externs/flash/filesystem/FileStream.hx:7: characters 6-20 : Field objectEncoding has different property access than in flash.utils.IDataOutput (var should be (get,set))
     [exec] externs/flash/filesystem/FileStream.hx:6: characters 6-12 : Field endian has different property access than in flash.utils.IDataOutput (var should be (get,set))

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

@joshtynjala any immediate thought on above errors on Linux compilation (?)

from moonshine-ide.

joshtynjala avatar joshtynjala commented on June 12, 2024

When using Lime 8.0.0, OpenFL 9.2.0, and Feathers UI 1.0.0, you need to compile with Haxe 4.2. These versions are not compatible with Haxe 4.3 when targeting Flash/AIR.

However, Lime 8.0.2, OpenFL 9.2.2, and Feathers UI 1.2.0 should be compatible with Haxe 4.3. I'll take a look. Maybe I didn't update some of the OpenFL Flash externs properly.

from moonshine-ide.

B-Interactive avatar B-Interactive commented on June 12, 2024

Much appreciated @joshtynjala. I'll give that another go 👍

from moonshine-ide.

Related Issues (20)

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.