bots2d icon indicating copy to clipboard operation
bots2d copied to clipboard

Shader error on Mac OS

Open avardy opened this issue 3 years ago • 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?

avardy avatar Apr 12 '22 22:04 avardy

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.

niklasab avatar Jul 29 '23 09:07 niklasab