Kode/Kha --> Type not found : Uint8Array

This happens with all projects when adding a project to the workspace in Kode Studio:

Haxe server restart requested: display arguments changed
Building Cache...
Restarted Haxe server: display arguments changed
Failed - try fixing the error(s) and restarting the language server:
ArmorySDK/iron/Sources/iron/system/Lz4.hx:25: characters 8-29 : Type not found : kha.arrays.Uint8Array
/ArmorySDK/iron/Sources/iron/system/Lz4.hx:38: characters 18-28 : Type not found : Uint8Array
ArmorySDK/iron/Sources/iron/system/Lz4.hx:176: characters 13-23 : Type not found : Uint8Array
/ArmorySDK/iron/Sources/iron/system/Lz4.hx:184: characters 18-28 : Type not found : Uint8Array

(I also can’t build anything with XCode. I don’t even want to start posting all
the errors I get there. For now it would be cool if I could figure out why I can’t even add any project to Kode Studio without these errors popping up…)

This is on OSX, latest Kha, latest Armory SDK.

Any ideas?
Thanks,
tL.

Hi, did you set the Kha path in the Kode Studio preferences to the SDK’s Kha directory? Kode Studio comes with it’s own version of Kha but it is rarely updated (Uint8arrays were added to Kha only a few weeks ago).

Hi, I actually use kha from git directly.
Maybe I should try to change to the Armory SDK version anyways and see what happens.
I’ll test that tomorrow.

No, doesn’t make any difference. That’s strange.
Just to be clear:
Setting the Kha directory is done in Kode Studio Settings:

Kha:Kha Path
Points to a Kha directory

There is no place to set it in a .json file or somewhere else I might miss?

@Lytz1 Does it point towards Armory/Kha?

I tried both.

Usually I point to:

/usr/local/lib/haxe/lib/kha/git
which is the latest git version of kha

and after timodrians post pointed to:

/Volumes/HDD3/ArmorySDK/Kha

which is where the ArmorySDK is installed.
Doesn’t make any difference. Both spit the same errors in Kode.

This is why I wanted to know if there might be a path in a file or
anywhere else that I might be missing.

Maybe update Haxe and try angin?

I did that today. Along with an uninstall/reinstall of the ArmorySDK.
So now my “Uint” errors in Kode are gone, everything is looking good as
well inside Blender until I try to compile anything.
Now I have this error in the console when compiling from blender:

Could not load krom.js, aborting.

Any idea what is going on here?

TWIMC (I posted this also on Discord):

I found an older ArmorySDK download still in my download-folder… I changed the reference inside Blender-AddOns to there. This works. So I am not sure but it might be that the latest SDK breaks something? (at least on OSX)? When I switch to the latest download from itch.io it breaks with “could not load krom.js”, when I switch back to the one I dl’d 1st of September it works, no problem… So I am not sure what is going on here.

So I don’t know, but it might be that something is wrong inside the latest downloadable SDK?

Is there a krom.js in the generated /build/debug/krom folder? If no, could you please enable Armory Project > Flags > Verbose Output and paste the content of the console during build here? Maybe that helps finding the cause.

krom.js is in the debug/krom folder.

verbose output is now enabled, still looks like console output doesn’t say a lot…

Using Kha (08a876c1) from /Volumes/HDD3/armsdk-master/Kha
Creating Kha project.
Exporting asset 1 of 4 (Scene.arm).
Exporting asset 2 of 4 (World_irradiance.arm).
Exporting asset 3 of 4 (mesh_Cube.arm).
Exporting asset 4 of 4 (mesh_Plane.arm).
Exporting asset 1 of 4 (Material_data.arm).
Exporting asset 2 of 4 (World_World_data.arm).
Exporting asset 3 of 4 (armdefault_data.arm).
Exporting asset 4 of 4 (shader_datas.arm).
Exporting asset 1 of 1 (brdf.png).
Exporting asset 1 of 1 (smaa_area.png).
Exporting asset 1 of 1 (smaa_search.png).
Exporting asset 1 of 1 (font_default.ttf).
Compiling shader 1 of 20 (Material_mesh.frag.glsl).
Compiling shader 2 of 20 (World_World.frag.glsl).
Compiling shader 3 of 20 (World_World.vert.glsl).
Compiling shader 4 of 20 (armdefault_mesh.frag.glsl).
Compiling shader 5 of 20 (armdefault_mesh.vert.glsl).
Compiling shader 6 of 20 (armdefault_shadowmap.frag.glsl).
Compiling shader 7 of 20 (armdefault_shadowmap.vert.glsl).
Compiling shader 8 of 20 (blur_edge_pass.frag.glsl).
Compiling shader 9 of 20 (compositor_pass.frag.glsl).
Compiling shader 10 of 20 (compositor_pass.vert.glsl).
Compiling shader 11 of 20 (deferred_light.frag.glsl).
Compiling shader 12 of 20 (pass.vert.glsl).
Compiling shader 13 of 20 (pass_viewray.vert.glsl).
Compiling shader 14 of 20 (smaa_blend_weight.frag.glsl).
Compiling shader 15 of 20 (smaa_blend_weight.vert.glsl).
Compiling shader 16 of 20 (smaa_edge_detect.frag.glsl).
Compiling shader 17 of 20 (smaa_edge_detect.vert.glsl).
Compiling shader 18 of 20 (smaa_neighborhood_blend.frag.glsl).
Compiling shader 19 of 20 (smaa_neighborhood_blend.vert.glsl).
Compiling shader 20 of 20 (ssao_pass.frag.glsl).
Compiling shader 1 of 8 (painter-colored.frag.glsl).
Compiling shader 2 of 8 (painter-colored.vert.glsl).
Compiling shader 3 of 8 (painter-image.frag.glsl).
Compiling shader 4 of 8 (painter-image.vert.glsl).
Compiling shader 5 of 8 (painter-text.frag.glsl).
Compiling shader 6 of 8 (painter-text.vert.glsl).
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).
Done.
name              | time(s) |   % |  p% |     # | info
-------------------------------------------------
filters           |   0.364 |  29 |  29 |    11 |
typing            |   0.345 |  28 |  28 |    16 |
analyzer          |   0.314 |  25 |  25 | 13169 |
generate          |   0.095 |   8 |   8 |     1 |
  js              |   0.095 |   8 | 100 |     1 |
macro             |   0.081 |   7 |   7 |    80 |
server            |   0.034 |   3 |   3 |  3206 |
  module cache    |   0.034 |   3 |  99 |  3129 |
    check         |   0.019 |   2 |  55 |   157 |
    add modules   |   0.013 |   1 |  37 |    80 |
-------------------------------------------------
total             |   1.235 | 100 | 100 | 16486 |
Finished in 3.0452020168304443
Could not load krom.js, aborting.

It’s interesting anyways, because this SDK breaks with Blender, but erases the ‘uint’ errors in Kode
and the other one (my “old” one that I found) spits errors in Kode, but works fine in Blender.
At least for now it works in this configuration…

It should output something with Khafile flags:, are you sure that you’ve pasted the entire message? But it’s interesting that krom.js seems to exist… Can you test it with the latest version from the kromx_bin repo? Just replace the contents of that repository with the contents of SDK/Krom

You’re right, wasn’t the complete terminal output.
However, this one still doesn’t work:

__________  [Armory] Compiling  __________

Armory v2020.9 ($Id: 2d430b56ae88c256065e888d0c65ad6ddfae43ba $)
OS: mac, Target: krom, GAPI: opengl, Blender: 2.83.6
Exporting Scene
Exporting object action GateOpen
Exporting object action GateClose
Exporting mesh Suzanne
Exporting mesh Cube.003
Exporting mesh Cube.001
Exporting mesh Plane.003
Exporting mesh Cube.008
Exporting mesh Cube
Exporting mesh Cube.002
Exporting mesh Plane.000
Scene exported in 0.287128210067749
Exported modules: ['audio', 'physics', 'ui']
Shader flags: ['_Irr', '_Rad', '_Deferred', '_Sun', '_Brdf']
Compositor flags: ['_CToneFilmic']
Khafile flags: ['arm_hosek', 'arm_deferred', 'rp_hdr', 'rp_renderer=Deferred', 'rp_background=World', 'rp_overlays']
Using project from /Volumes/HDD2/Luetze/Downloads/armory_examples-20.07/ui_script3d
Running:  ['/Volumes/HDD3/armsdk-master//nodejs/node-osx', '/Volumes/HDD3/armsdk-master//Kha/make', 'krom', '-g', 'opengl', '--shaderversion', '330', '--parallelAssetConversion', '4', '--to', 'build_ui/debug', '--nohaxe', '--noproject']
Using Kha (08a876c1) from /Volumes/HDD3/armsdk-master/Kha
Creating Kha project.
Exporting asset 1 of 1 (ammo.wasm.js).
Exporting asset 1 of 1 (ammo.wasm.wasm).
Exporting asset 1 of 4 (Scene.arm).
Exporting asset 2 of 4 (World_irradiance.arm).
Exporting asset 3 of 4 (action_GateClose.arm).
Exporting asset 4 of 4 (action_GateOpen.arm).
Exporting asset 1 of 2 (World_World_data.arm).
Exporting asset 2 of 2 (shader_datas.arm).
Exporting asset 1 of 1 (brdf.png).
Exporting asset 1 of 1 (hosek_radiance.hdr).
Exporting asset 1 of 1 (hosek_radiance_0.hdr).
Exporting asset 1 of 1 (hosek_radiance_1.hdr).
Exporting asset 1 of 1 (hosek_radiance_2.hdr).
Exporting asset 1 of 1 (hosek_radiance_3.hdr).
Exporting asset 1 of 1 (hosek_radiance_4.hdr).
Exporting asset 1 of 1 (hosek_radiance_5.hdr).
Exporting asset 1 of 1 (hosek_radiance_6.hdr).
Exporting asset 1 of 1 (hosek_radiance_7.hdr).
Exporting asset 1 of 1 (dummy.jpg).
Exporting asset 1 of 1 (checker.png).
Exporting asset 1 of 1 (checker_rough.png).
Exporting asset 1 of 1 (font_default.ttf).
Compiling shader 1 of 15 (Cube_mesh.frag.glsl).
Compiling shader 2 of 15 (MaterialUI_mesh.frag.glsl).
Compiling shader 3 of 15 (Material_001_mesh.frag.glsl).
Compiling shader 4 of 15 (Material_005_mesh.frag.glsl).
Compiling shader 5 of 15 (Material_005_mesh.vert.glsl).
Compiling shader 6 of 15 (Material_overlay.frag.glsl).
Compiling shader 7 of 15 (Material_overlay.vert.glsl).
Compiling shader 8 of 15 (World_World.frag.glsl).
Compiling shader 9 of 15 (World_World.vert.glsl).
Compiling shader 10 of 15 (armdefault_mesh.frag.glsl).
Compiling shader 11 of 15 (armdefault_mesh.vert.glsl).
Compiling shader 12 of 15 (deferred_light.frag.glsl).
Compiling shader 13 of 15 (pass.vert.glsl).
Compiling shader 14 of 15 (pass_copy.frag.glsl).
Compiling shader 15 of 15 (pass_viewray.vert.glsl).
Compiling shader 1 of 8 (painter-colored.frag.glsl).
Compiling shader 2 of 8 (painter-colored.vert.glsl).
Compiling shader 3 of 8 (painter-image.frag.glsl).
Compiling shader 4 of 8 (painter-image.vert.glsl).
Compiling shader 5 of 8 (painter-text.frag.glsl).
Compiling shader 6 of 8 (painter-text.vert.glsl).
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).
Done.
name             | time(s) |   % |  p% |     # | info
------------------------------------------------
typing           |   1.312 |  29 |  29 |     8 |
parsing          |   0.974 |  21 |  21 |   802 |
filters          |   0.846 |  19 |  19 |    11 |
analyzer         |   0.711 |  16 |  16 | 47737 |
macro            |   0.406 |   9 |   9 |   672 |
  jit            |   0.053 |   1 |  13 |   615 |
  add_types      |   0.022 |   0 |   5 |     8 |
server           |   0.180 |   4 |   4 | 14340 |
  parser cache   |   0.171 |   4 |  95 |   903 |
  module cache   |   0.009 |   0 |   5 | 13437 |
generate         |   0.101 |   2 |   2 |     1 |
  js             |   0.101 |   2 | 100 |     1 |
null safety      |   0.003 |   0 |   0 |     1 |
------------------------------------------------
total            |   4.532 | 100 | 100 | 63573 |
Finished in 6.318232774734497
Could not load krom.js, aborting.

It looks like the project and the SDK are on different drives, that might be the problem (some relative paths that don’t work).

Source of the error message if it somehow helps you: https://github.com/Kode/Krom/blob/b5839d5068db66f790d9d496b7e8707eec914437/Sources/main.cpp#L3761

Yeah, they are on different drives. That’s true. I’ll check if that solves it.
The older SDK compiles, but I just checked the console output as
well. Get some strange GL errors and PPComp not found errors…
(scroll to the bottom to see them…)

__________  [Armory] Compiling  __________

Armory v2020.9 ($Id: d2b63a9b7097a3744477f3b0eb4b60fca96d363e $)
OS: mac, Target: krom, GAPI: opengl, Blender: 2.83.6
Exporting Scene
Scene exported in 0.010452985763549805
Exported modules: ['audio']
Shader flags: ['_Irr', '_Rad', '_Deferred', '_ShadowMap', '_CSM', '_Spot', '_SinglePoint', '_Brdf', '_SMAA', '_SSAO']
Compositor flags: ['_CToneFilmic']
Khafile flags: ['arm_hosek', 'arm_deferred', 'arm_csm', 'arm_spot', 'rp_hdr', 'rp_renderer=Deferred', 'rp_shadowmap', 'rp_shadowmap_cascade=1024', 'rp_shadowmap_cube=512', 'rp_background=World', 'rp_render_to_texture', 'rp_compositornodes', 'rp_antialiasing=SMAA', 'rp_supersampling=1', 'rp_ssgi=SSAO']
Using project from /Volumes/HDD2/Luetze/Downloads/armory_examples-20.07/logic_pong
Running:  ['/Volumes/HDD2/Luetze/Downloads/ArmorySDK//nodejs/node-osx', '/Volumes/HDD2/Luetze/Downloads/ArmorySDK//Kha/make', 'krom', '-g', 'opengl', '--shaderversion', '330', '--parallelAssetConversion', '4', '--to', 'build_pong/debug', '--nohaxe', '--noproject']
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Using Kha (fatal: n, fatal: not a git repository: /Volumes/HDD2/Luetze/Downloads/ArmorySDK/Kha/../.git/modules/Kha) from /Volumes/HDD2/Luetze/Downloads/ArmorySDK/Kha
Creating Kha project.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Exporting asset 1 of 7 (Scene.arm).
Exporting asset 2 of 7 (World_irradiance.arm).
Exporting asset 3 of 7 (mesh_Cube.arm).
Exporting asset 4 of 7 (mesh_Plane.001.arm).
Exporting asset 5 of 7 (mesh_Plane.arm).
Exporting asset 6 of 7 (mesh_Sphere.arm).
Exporting asset 7 of 7 (mesh_Text.arm).
Exporting asset 1 of 5 (Material_001_data.arm).
Exporting asset 2 of 5 (Material_002_data.arm).
Exporting asset 3 of 5 (Material_data.arm).
Exporting asset 4 of 5 (World_World_data.arm).
Exporting asset 5 of 5 (shader_datas.arm).
Exporting asset 1 of 1 (brdf.png).
Exporting asset 1 of 1 (hosek_radiance.hdr).
Exporting asset 1 of 1 (hosek_radiance_0.hdr).
Exporting asset 1 of 1 (hosek_radiance_1.hdr).
Exporting asset 1 of 1 (hosek_radiance_2.hdr).
Exporting asset 1 of 1 (hosek_radiance_3.hdr).
Exporting asset 1 of 1 (hosek_radiance_4.hdr).
Exporting asset 1 of 1 (hosek_radiance_5.hdr).
Exporting asset 1 of 1 (hosek_radiance_6.hdr).
Exporting asset 1 of 1 (hosek_radiance_7.hdr).
Exporting asset 1 of 1 (smaa_area.png).
Exporting asset 1 of 1 (smaa_search.png).
Exporting asset 1 of 1 (config.arm).
Exporting asset 1 of 1 (checker.png).
Compiling shader 1 of 24 (Material_001_mesh.frag.glsl).
Compiling shader 2 of 24 (Material_001_mesh.vert.glsl).
Compiling shader 3 of 24 (Material_001_shadowmap.vert.glsl).
Compiling shader 4 of 24 (Material_002_mesh.frag.glsl).
Compiling shader 5 of 24 (Material_002_mesh.vert.glsl).
Compiling shader 6 of 24 (Material_mesh.frag.glsl).
Compiling shader 7 of 24 (Material_mesh.vert.glsl).
Compiling shader 8 of 24 (Material_shadowmap.frag.glsl).
Compiling shader 9 of 24 (Material_shadowmap.vert.glsl).
Compiling shader 10 of 24 (World_World.frag.glsl).
Compiling shader 11 of 24 (World_World.vert.glsl).
Compiling shader 12 of 24 (blur_edge_pass.frag.glsl).
Compiling shader 13 of 24 (compositor_pass.frag.glsl).
Compiling shader 14 of 24 (compositor_pass.vert.glsl).
Compiling shader 15 of 24 (deferred_light.frag.glsl).
Compiling shader 16 of 24 (pass.vert.glsl).
Compiling shader 17 of 24 (pass_viewray.vert.glsl).
Compiling shader 18 of 24 (smaa_blend_weight.frag.glsl).
Compiling shader 19 of 24 (smaa_blend_weight.vert.glsl).
Compiling shader 20 of 24 (smaa_edge_detect.frag.glsl).
Compiling shader 21 of 24 (smaa_edge_detect.vert.glsl).
Compiling shader 22 of 24 (smaa_neighborhood_blend.frag.glsl).
Compiling shader 23 of 24 (smaa_neighborhood_blend.vert.glsl).
Compiling shader 24 of 24 (ssao_pass.frag.glsl).
Compiling shader 1 of 8 (painter-colored.frag.glsl).
Compiling shader 2 of 8 (painter-colored.vert.glsl).
Compiling shader 3 of 8 (painter-image.frag.glsl).
Compiling shader 4 of 8 (painter-image.vert.glsl).
Compiling shader 5 of 8 (painter-text.frag.glsl).
Compiling shader 6 of 8 (painter-text.vert.glsl).
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).
Done.
name              | time(s) |   % |  p% |     # | info
-------------------------------------------------
filters           |   0.400 |  36 |  36 |    11 |
analyzer          |   0.295 |  26 |  26 | 12877 |
typing            |   0.210 |  19 |  19 |     5 |
generate          |   0.108 |  10 |  10 |     1 |
  js              |   0.108 |  10 | 100 |     1 |
macro             |   0.076 |   7 |   7 |    57 |
server            |   0.026 |   2 |   2 |  3302 |
  module cache    |   0.025 |   2 |  99 |  3198 |
    add modules   |   0.013 |   1 |  50 |    74 |
    check         |   0.011 |   1 |  41 |   178 |
parsing           |   0.002 |   0 |   0 |     2 |
-------------------------------------------------
total             |   1.117 | 100 | 100 | 16257 |
Finished in 1.8832600116729736
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd55baab1f8 but texture is not attached.
Warning, attempting to detach Texture 0x7fd579660a38 from framebuffer 0x7fd5f94423d8 but texture is not attached.
deviceBufferSize = 4096

mSampleRate = 44100

mFormatFlags = 00000009

mBytesPerPacket = 8

mFramesPerPacket = 1

mChannelsPerFrame = 2

mBytesPerFrame = 8

mBitsPerChannel = 32

Uniform PPComp11 not found.
Uniform PPComp12 not found.
GL Error 1286 /Users/lubos/Downloads/Kromx/Kinc/Backends/Graphics4/OpenGL/Sources/Kore/OpenGL.cpp 326

Okay, and the new SDK is on the same drive now…
So of course I got a new problem… :slight_smile:
haha…

/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/system/ArmPack.hx:189: characters 25-33 : Class has no field isOfType
/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/system/ArmPack.hx:190: characters 23-31 : Class has no field isOfType
/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/system/ArmPack.hx:190: characters 51-59 : Class has no field isOfType
/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/system/ArmPack.hx:191: characters 25-33 : Class has no field isOfType
/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/object/Uniforms.hx:1073: characters 29-37 : Class has no field isOfType
/Volumes/HDD2/Luetze/armsdk-master/iron/Sources/iron/object/Object.hx:111: characters 11-19 : Class has no field isOfType
ERROR: Build failed, check console

@Lytz1 The last time I got this error of isOfType not found, I had to update Haxe to latest version.

I actually did update Haxe a couple of hours before this because of the other errors that
I had before in Kode… :slight_smile:

It’s indeed a newer Haxe thing (4.1.0), but Kha comes with it’s own version of Haxe (which currently is 4.1.3+ac4eb0a87, if you go into SDK/Kha/Tools/haxe and run haxe --version). With that version it should not raise those errors.