I can't deploy for Linux

Hi, i’m having trouble to deploy to Linux even on Linux(Krom) as Linux( C ).
—>Krom

  • GL Error 1282 …/…/Kinc/Backends/Graphics4/OpenGL/Sources/Kore/OpenGL.cpp 298 (this appears countless times)

  • GL Error 1282 …/…/Kinc/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.c 212

—> Linux ( C )
When I run make at Release folder:

…/hl/globals.c:1677:56: note: in expansion of macro ‘USTR’
static struct _String const_s$Int = {&t$String,(vbyte*)USTR(“Int”),3};
^
In file included from …/sources.c:273:0,
from …/kore_sources.c:1:
…/hl/globals.c:1677:48: error: initializer element is not constant
static struct _String const_s$Int = {&t$String,(vbyte*)USTR(“Int”),3};
^
…/hl/globals.c:1677:48: note: (near initialization for ‘const_s$Int.bytes’)
In file included from …/…/…/…/…/…/app/ArmorySDK/Kha/Backends/KoreHL/hl/src/hlc.h:26:0,
from …/sources.c:3,
from …/kore_sources.c:1:
…/hl/globals.c:1677:61: error: expected ‘}’ before string constant
static struct _String const_s$Int = {&t$String,(vbyte*)USTR(“Int”),3};
^
…/…/…/…/…/…/app/ArmorySDK/Kha/Backends/KoreHL/hl/src/hl.h:240:23: note: in definition of macro ‘USTR’
define USTR(str) u##str
^~~
…/…/…/…/…/…/app/ArmorySDK/Kha/Backends/KoreHL/hl/src/hl.h:240:20: error: pasting “u” and ““Bool”” does not give a valid preprocessing token
define USTR(str) u##str
(PS:Appears many times these errors for other lines)

I’m using Linux Mint 19, Blender 2.81a-linux-glibc217-x86_64 and the latest version of Armory SDK.
I’m really enjoying Armory (i’m using HTML deploy) and it would be amazing use all the power of OpenGL on Linux (not limited by browser as webgl).

About --> Linux (Krom) deploy, I’ve found the solution entering at Blender menu Edit–>Preferences–>Add-Ons. Search for Armory 3D, click on “Show advanced” --> “Legacy Shaders”

hi. @WillCalera

It seems good to attach a test file and report it on github.

Searching this forum and the issues page on github for “GL Error 1282” seems to report an error, but there is no test file.

https://forums.armory3d.org/search?q=GL%20Error%201282

1 Like