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

Shader error on Mac OS #1

Open
avardy opened this issue Apr 12, 2022 · 1 comment
Open

Shader error on Mac OS #1

avardy opened this issue Apr 12, 2022 · 1 comment

Comments

@avardy
Copy link

avardy commented Apr 12, 2022

Hi,

This looks like a really cool and useful project! I'm trying to evaluate whether it could be adopted for swarm robotics research. However, I'm on a Mac and got the following error when trying to execute bots2dtest:

4.1 ATI-4.8.15
Failed to compile vertex
ERROR: 0:11: ';' : syntax error: syntax error

Failed to compile fragment
ERROR: 0:11: ';' : syntax error: syntax error

/Users/av/Downloads/bots2d/src/renderer/Shader.cpp 171 glAttachShader(program, vs) [OpenGL errer]: 1281
Assertion failed: (false), function GLLogCall, file /Users/av/Downloads/bots2d/src/renderer/GLError.cpp, line 15.
Abort trap: 6

I understand that this may be an OS-specific issue. But maybe someone has some advice?

@niklasab
Copy link
Member

Sorry for late reply, haven't looked at this repo in a while. I have not tried to build this on MacOS. Might be possible to get it working, but OpenGL is deprecated on MacOS.

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