I fixed it, I believe. I manually built the glfw2 library from here:
https://github.com/glfw/glfw-legacy using the make x11-dist-install command.
After that I renamed the created
libglfw.so, which was placed in
/usr/local/lib, to libglfw.so.2.7.9 and I had to move it to my
/usr/lib64 directory. Then I created a link from
still changing the code in
cocos2dx.mk didn’t make a diffrence, so I did it badly and changed the
libglfw.so link to point to
libglfw.so.2.7.9 instead of
But as you said, this is bad practice, so maybe there is something wrong in the code change that you profided.