armory3d / armortools

3D Content Creation Tools
https://armorpaint.org
Other
3.15k stars 332 forks source link

ArmorLab Build Errors #1704

Closed LucidCog closed 2 months ago

LucidCog commented 2 months ago

Why are there source errors when I try to build armorlab?? `Compiling shader 1 of 2 (inpaint_preview.frag.glsl). Compiling shader 2 of 2 (layer_copy_rrrr.frag.glsl). ../../Sources/nodes/photo_to_pbr_node.ts:160:33 - error TS1005: ',' expected.

160 app_notify_on_next_frame(temp2: image_t) { ~

../../Sources/nodes/photo_to_pbr_node.ts:160:44 - error TS1005: ';' expected.

160 app_notify_on_next_frame(temp2: image_t) { ~

../../Sources/nodes/photo_to_pbr_node.ts:162:4 - error TS1128: Declaration or statement expected.

162 }, temp2); ~

../../Sources/nodes/photo_to_pbr_node.ts:162:6 - error TS1434: Unexpected keyword or identifier.

162 }, temp2);



../../Sources/nodes/photo_to_pbr_node.ts:162:11 - error TS1128: Declaration or statement expected.

162   }, temp2);
              ~

../../Sources/nodes/text_to_photo_node.ts:59:93 - error TS1005: ']' expected.

59   text_to_photo_node_text_input_ids[i + 1] = to_lower_case(text_to_photo_node_vocab[words[i]) + "</w>"];
                                                                                               ~

../../Sources/nodes/text_to_photo_node.ts:59:103 - error TS1005: ';' expected.

59   text_to_photo_node_text_input_ids[i + 1] = to_lower_case(text_to_photo_node_vocab[words[i]) + "</w>"];
                                                                                                         ~

../../Sources/nodes/upscale_node.ts:156:1 - error TS1005: '}' expected.

156

  ../../Sources/nodes/upscale_node.ts:36:35
    36 function upscale_node_load_blob() {
                                         ~
    The parser expected to find a '}' to match the '{' token here.

../../Sources/render_path_paint.ts:266:17 - error TS1005: ')' expected.

266   if (brush_node: inpaint_node_t != null) {
                    ~

  ../../Sources/render_path_paint.ts:266:6
    266   if (brush_node: inpaint_node_t != null) {
             ~
    The parser expected to find a ')' to match the '(' token here.

../../Sources/render_path_paint.ts:266:41 - error TS1005: ';' expected.

266   if (brush_node: inpaint_node_t != null) {
                                            ~

../../Sources/render_path_paint.ts:267:22 - error TS1005: ';' expected.

267    image = brush_node: inpaint_node_t.get_cached_image();
                         ~
`
luboslenco commented 2 months ago

Link with https://github.com/armory3d/armortools/issues/1664.