OpenFL -Dnext building fails because ByteArray.hx can't find cpp.NativeArray

Yes I’m working on forks of Lime and OpenFL. I ran git submodule init and git submodule update. I think I have the updated submodules for lime, when I run git submodule and I get these:

 2fd93965af0d7d55bc060a5b5108e4b1dfbb8a4e project/lib/cairo (1.14.2-9-g2fd9396)
 b5b913c01427297d87da69d34ddbbc06a6591697 project/lib/curl (7.37.1-4-gb5b913c)
 3ce727ee611fd2af6be6af37585fd08c914e1af5 project/lib/freetype (heads/master)
 395599e2536e043251e3eedf37ce4ae3b9f445b9 project/lib/harfbuzz (heads/master)
 937b86500b2cd436a38d7f9906968f3d0f6d8bea project/lib/jpeg (heads/master)
 f91ea8873af7730e669e4bc3406cefe490c5ab3a project/lib/neko (heads/master)
 e7b4c965fdda312dc62fe0b831bf6475c1a666f3 project/lib/ogg (1.3.0-2-ge7b4c96)
 28b69bc3e6e5fa6bef8cc20ae65345dcce4c9772 project/lib/openal (1.15.1-12-g28b69bc)
 8bc5406d38e0799edd883ef820856602b4e26cfc project/lib/openal-android (8bc5406)
 d42fc0b903c7736b057a6daca7a22dc83db69aab project/lib/pixman (0.32.6-4-gd42fc0b)
 95d51b67a1be7b8112b411f0d7f8f0cb70e68b58 project/lib/png (95d51b6)
 0358bad6c0b32d5fba2c1d8a5fa97440266beef8 project/lib/sdl (sdl-2.0.4+9174-12-g0358bad)
 44d0e5bbe25e5bc3d5d92d46a5457dfce6efab62 project/lib/vorbis (1.3.3-2-g44d0e5b)
 e3d87735455a99ea93bad8f6977bea46bfa2af60 project/lib/zlib (1.2.8-1-ge3d8773)

By rebuild do you mean some git or openfl command, besides just openfl build target?

lime rebuild os with os being linux/mac/windows.

I rebuilt lime and now my game compiles just fine, no more errors about primitives lime_cairo or lime_buffer.

But textfields are still being placed at double their x and y positions. If I override the setters for x and y in my class extending textfield, and super.set it to half the value, then it’s positioned correctly.

The positions passed in are the same, regardless of whether it’s Legacy or Next, but they are handled differently. Any ideas?

Text is positioned fine! I thought I was up-to-date, but actually I was not, sorry about that.

Now my TextFields have a white border, even though tracing border shows it’s disabled. If I set border to true, the borders are then black. Anybody else have that issue?

I’m going to go back to OpenFL Legacy for the remainder of my project, so I’ll be leaving this Next stuff alone for a little while.

Thanks,

We’ll keep pushing this stuff forward, hopefully it will be ready for the next project :wink:

Thanks again for your help :slight_smile: