Got an error with webgl

Hi. I recently updated all the haxe libraries, and now suddenly, the compilation halts, with this error:

C:/HaxeToolkit/haxe/lib/lime/2,5,2/lime/graphics/opengl/GLProgram.hx:43: characters 0-19 : Type not found : js.html.webgl.Program

-Dlegacy does not make a difference.

What could be the problem?

That’s from the std, so the problem is probably from your haxe.

What version do you have?

It could be that you have 3.1 and that this requires 3.2.

I use the latest haxe v3.2

The file is part of haxe 3.2.

Could you check if you have it? Should be at C:\HaxeToolkit\haxe\std\js\webgl\Program.hx.

Well whether the file is there and haxe can’t find it, or it’s not, you should remove your haxe installation and reinstall it.

Weird stuff. After reinstalling haxe 3.2, I get this error:

C:/HaxeToolkit/haxe/lib/lime/2,5,2/lime/utils/Int32Array.hx:7: lines 7-58 : Type not found : js.html.Int32Array

Everything is updated to the latest version…