Skip to content

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

@Chaimera-Baeddel

Description

@Chaimera-Baeddel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions