Hey there,
I came back to working on my project after a few months of pause - I just upgraded the haxelib and it updated openfl to 3.0.0beta. The last version was 2.2.4
Since then, the project is not compilable anymore and throws back a LOT of errors. Here’s the outline.
Did anything change for me in the way I have to structurize the basic .hx files? Or anything else I have missed?
bin/windows/cpp/haxe/ApplicationMain.hx:19: characters 2-22 : Class<openfl.Lib> has no field setPackage
bin/windows/cpp/haxe/ApplicationMain.hx:32: characters 2-18 : Class<openfl.Lib> has no field create
bin/windows/cpp/haxe/ApplicationMain.hx:109: characters 11-29 : Class<openfl.Lib> has no field HARDWARE
bin/windows/cpp/haxe/ApplicationMain.hx:110: characters 11-34 : Class<openfl.Lib> has no field ALLOW_SHADERS
bin/windows/cpp/haxe/ApplicationMain.hx:111: characters 12-37 : Class<openfl.Lib> has no field REQUIRE_SHADERS
bin/windows/cpp/haxe/ApplicationMain.hx:112: characters 12-34 : Class<openfl.Lib> has no field DEPTH_BUFFER
bin/windows/cpp/haxe/ApplicationMain.hx:113: characters 11-35 : Class<openfl.Lib> has no field STENCIL_BUFFER
bin/windows/cpp/haxe/ApplicationMain.hx:114: characters 12-31 : Class<openfl.Lib> has no field RESIZABLE
bin/windows/cpp/haxe/ApplicationMain.hx:115: characters 12-32 : Class<openfl.Lib> has no field BORDERLESS
bin/windows/cpp/haxe/ApplicationMain.hx:116: characters 12-27 : Class<openfl.Lib> has no field VSYNC
bin/windows/cpp/haxe/ApplicationMain.hx:117: characters 12-32 : Class<openfl.Lib> has no field FULLSCREEN
bin/windows/cpp/haxe/ApplicationMain.hx:118: characters 13-34 : Class<openfl.Lib> has no field HW_AA_HIRES
bin/windows/cpp/haxe/ApplicationMain.hx:119: characters 13-28 : Class<openfl.Lib> has no field HW_AA
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:963: characters 4-45 : lime.graphics.opengl.GLTexture should be openfl.gl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:635: characters 2-59 : lime.utils.Float32Array should be openfl.utils.Float32Array
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1388: characters 35-41 : openfl.utils.Int16Array should be lime.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1388: characters 35-41 : For function argument 'data'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:32: characters 33-41 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:32: characters 33-41 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:40: characters 39-43 : openfl.utils.ArrayBufferView should be lime.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:40: characters 39-43 : For function argument 'data'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1468: characters 24-28 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1468: characters 24-28 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1470: characters 24-31 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1470: characters 24-31 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:51: characters 2-30 : lime.graphics.opengl.GLBuffer should be openfl.gl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:53: characters 33-41 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:53: characters 33-41 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:55: characters 33-37 : openfl.utils.ArrayBufferView should be lime.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:55: characters 33-37 : For function argument 'data'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1473: characters 31-38 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1473: characters 31-38 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/ShaderManager.hx:50: characters 16-30 : openfl.gl.GLProgram should be lime.graphics.opengl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/ShaderManager.hx:50: characters 16-30 : For function argument 'program'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:65: characters 40-47 : openfl.gl.GLProgram should be lime.graphics.opengl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:65: characters 40-47 : For function argument 'program'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:52: characters 39-46 : openfl.gl.GLProgram should be lime.graphics.opengl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:52: characters 39-46 : For function argument 'program'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:84: characters 34-65 : openfl.utils.Float32Array has no field subarray
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:86: characters 34-65 : openfl.utils.Float32Array has no field subarray
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:88: characters 34-65 : openfl.utils.Float32Array has no field subarray
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:90: characters 34-65 : openfl.utils.Float32Array has no field subarray
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:145: characters 9-15 : lime.graphics.opengl.GLShader should be openfl.gl.GLShader
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:122: characters 28-40 : openfl.gl.GLShader should be lime.graphics.opengl.GLShader
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:122: characters 28-40 : For function argument 'shader'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:123: characters 28-42 : openfl.gl.GLShader should be lime.graphics.opengl.GLShader
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:123: characters 28-42 : For function argument 'shader'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:131: characters 9-16 : lime.graphics.opengl.GLProgram should be openfl.gl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:34: characters 16-23 : openfl.gl.GLProgram should be lime.graphics.opengl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:34: characters 16-23 : For function argument 'program'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:39: characters 20-27 : openfl.gl.GLProgram should be lime.graphics.opengl.GLProgram
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/shaders2/Shader.hx:39: characters 20-27 : For function argument 'program'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:71: characters 2-61 : lime.utils.Float32Array should be openfl.utils.Float32Array
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:575: characters 29-38 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:575: characters 29-38 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:577: characters 2-33 : lime.graphics.opengl.GLBuffer should be openfl.gl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:578: characters 41-52 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:578: characters 41-52 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:469: characters 42-53 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:469: characters 42-53 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:473: characters 22-31 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:473: characters 22-31 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:476: characters 22-26 : lime.utils.Float32Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:476: characters 22-26 : For function argument 'view'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:544: characters 32-45 : openfl.gl.GLTexture should be lime.graphics.opengl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:544: characters 32-45 : For function argument 'texture'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:170: characters 27-34 : lime.graphics.opengl.GLTexture should be openfl.gl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:170: characters 27-34 : For function argument 'texture'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1123: characters 32-46 : openfl.gl.GLTexture should be lime.graphics.opengl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx:1123: characters 32-46 : For function argument 'texture'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:185: characters 25-44 : Class<openfl.display.Tilesheet> has no field TILE_RECT
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:186: characters 27-48 : Class<openfl.display.Tilesheet> has no field TILE_ORIGIN
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:218: characters 23-39 : openfl.display.Tilesheet has no field __rectTile
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:219: characters 25-39 : openfl.display.Tilesheet has no field __rectUV
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:220: characters 21-34 : openfl.display.Tilesheet has no field __point
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:335: characters 29-36 : lime.graphics.opengl.GLTexture should be openfl.gl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:335: characters 29-36 : For function argument 'texture'
.../haxelib/openfl-native/1,4,0/openfl/display/Tilesheet.hx:87: characters 44-52 : Class<openfl.Lib> has no field load
.../haxelib/openfl-native/1,4,0/openfl/display/Tilesheet.hx:39: characters 36-50 : flash.display.BitmapData has no field __handle
.../haxelib/openfl-native/1,4,0/openfl/display/Tilesheet.hx:88: characters 46-54 : Class<openfl.Lib> has no field load
.../haxelib/openfl-native/1,4,0/haxe/Timer.hx:266: characters 30-44 : Class<openfl.Lib> has no field load
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:15: characters 2-46 : Too many arguments
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:15: characters 2-46 : Function 'new' requires no arguments
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:45: characters 47-55 : Class<openfl.Lib> has no field load
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:17: characters 80-88 : Unknown identifier : __handle
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:18: characters 84-92 : Unknown identifier : __handle
.../haxelib/openfl-native/1,4,0/openfl/display/DirectRenderer.hx:44: characters 50-58 : Class<openfl.Lib> has no field load
.../haxelib/openfl-native/1,4,0/openfl/utils/ArrayBufferView.hx:129: characters 9-32 : flash.utils.ByteArray has no field getNativePointer
.../haxelib/openfl-native/1,4,0/openfl/gl/GL.hx:892: characters 10-18 : Class<openfl.Lib> has no field load
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:66: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:66: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:70: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:70: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:74: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:74: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:78: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:78: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:82: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:82: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:86: characters 137-143 : lime.utils.UInt8Array should be openfl.utils.ArrayBufferView
.../haxelib/openfl/3,0,0-beta/openfl/display3D/textures/CubeTexture.hx:86: characters 137-143 : For function argument 'pixels'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:44: characters 18-26 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/VertexArray.hx:44: characters 18-26 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:114: characters 18-29 : openfl.gl.GLBuffer should be lime.graphics.opengl.GLBuffer
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:114: characters 18-29 : For function argument 'buffer'
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:372: characters 27-48 : lime.graphics.opengl.GLTexture should be openfl.gl.GLTexture
.../haxelib/openfl/3,0,0-beta/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx:372: characters 27-48 : For function argument 'texture'
.../haxelib/openfl-native/1,4,0/openfl/gl/GL.hx:451: characters 35-51 : flash.display.BitmapData has no field __handle
bin/windows/cpp/haxe/ApplicationMain.hx:192: characters 2-7 : Field get_stage is declared 'override' but doesn't override any field
(I removed the absolute path the the haxelist and replaced it with “…”)