Armorpaint 0.6 Git version having trouble with opengl in Ubuntu 18.04LTS

#1

I have some openGL draw-errors right after opening, it spams the terminal with the text below.

Any ideas? Or is it something that is known and will eventually be fixed? :slight_smile:

Uniform brushScale not found.
Uniform W not found.
Uniform eye not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 197

GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 197

GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 197

GLSL compiler error: 0(37) : error C7011: implicit cast from “vec4” to “vec2”
0(38) : error C7506: OpenGL does not define the global type float4
0(41) : error C7011: implicit cast from “vec4” to “vec2”
0(50) : error C7011: implicit cast from “vec4” to “vec2”
0(54) : error C7011: implicit cast from “vec4” to “vec3”
0(55) : error C7011: implicit cast from “vec4” to “vec3”

GLSL linker error: Fragment info

0(37) : error C7011: implicit cast from “vec4” to “vec2”
0(38) : error C7506: OpenGL does not define the global type float4
0(41) : error C7011: implicit cast from “vec4” to “vec2”
0(50) : error C7011: implicit cast from “vec4” to “vec2”
0(54) : error C7011: implicit cast from “vec4” to “vec3”
0(55) : error C7011: implicit cast from “vec4” to “vec3”
(0) : error C2003: incompatible options for link

GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform sub not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform WVP not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform inp not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform inplast not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform aspectRatio not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform brushRadius not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform brushOpacity not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform brushHardness not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform invVP not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform brushScale not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform W not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 380

Uniform N not found.
GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 398

GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 398

GL Error 1282 …/…/Kore/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.cpp 398

0 Likes

#2

Just noticed that that has already been reported as a but… Should have checked first, sorry.

0 Likes

#3

That’s OK. It would be good if you posted a link to where it was already reported though so that if anybody finds this topic, they can find out whether or not it got resolved later.

0 Likes

#4

Here it is:


There’s an update in the build process:

#node Kha/make krom -g opengl
node Kha/make krom -g opengl --shaderversion 330
cd Krom
node Kore/make -g opengl --compiler clang --compile
cp build/Release/Krom Deployment/Krom

One needs to add --shaderversion 330 as an argument to the node Kha-thingy. xD (sorry, not a programmer, so I’m confined to using layman’s terms…)

2 Likes