artfulbytes/bots2d

Shader error on Mac OS

Opened this issue · 1 comments

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?

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.