SoilMachine
SoilMachine copied to clipboard
g++ version, make warnings, and shader compatibility issues
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:
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:
It seems to be running into issues with GLSL 4.30 and 4.60 shaders.