SoilMachine icon indicating copy to clipboard operation
SoilMachine copied to clipboard

g++ version, make warnings, and shader compatibility issues

Open Chaimera-Baeddel opened this issue 1 year ago • 1 comments

I am attempting to use this on Arch and have run into a few issues.

The makefile specifies a particular g++ version, causing it to fail, which I fixed by changing "g++-10" to just "g++".

Once I got it to build, it printed several warnings about invoking undefined behavior, which may or may not be relevant, but i'll include them just in case:

makewarnings.txt

On execution, I was getting a window but nothing was displaying, so I tried using tiny engine's compatibility macro. I changed the last line of the makefile to the following (I'm not sure exactly where to put the macro, but it gave the same results putting it in other parts of the line):

$(CC) SoilMachine.cpp $(CF) $(LF) -lTinyEngine $(TINYLINK) -D TINYENGINE_COMPATIBILITY -o soilmachine

After this, it displays a glitchy window then crashes. Running from terminal gives the following output:

compatibilityerror.txt

It seems to be running into issues with GLSL 4.30 and 4.60 shaders.

Chaimera-Baeddel avatar Feb 25 '23 01:02 Chaimera-Baeddel