Ok, now I’ve seemed to have messed something up that was working.
On a separate cocos2d-x project that wasnt including the Spine extension that was causing my error above, I can build but not run the app anymore (it was previously able to run)…
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
cocos2d-x debug info [SDL Error: Unknown touch device, line: 90]
cocos2d-x debug info [Not totally ready :(]
cocos2d-x debug info [OpenGL 2.0 not supported]
cocos2d-x debug info [Assert failed: fail to init OpenGL extension ARB_vertex_buffer_object]
MyApp: ../platform/linux/CCEGLView.cpp:106: virtual void cocos2d::EGLView::setFrameSize(float, float): Assertion `0' failed.
I had made a symlink at /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 attempting to fix my first issue, which it didn’t, so then I removed it, and now my system just crashes to a black screen and reboots my user account when I try to run my above app.