Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Chaimera-Baeddel opened this issue Feb 25, 2023 · 1 comment
Open

Comments

@Chaimera-Baeddel
Copy link

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.

@tay10r
Copy link

tay10r commented Feb 25, 2023

Just FYI, the warnings are issued for a third party library.

Nothing displaying seems like a shader issue.

I'm not the author but if you can send a link to the arch image or something to repro with, I can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants