Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

make -eglpath relative on linux #210

Closed michaelnew closed 6 years ago

michaelnew commented 6 years ago

Previously the libEGL.so path was hardcoded to /usr/lib/nvidia-384/libEGL.so. The typical location, I believe, is /usr/lib/libEGL.so, so this prevents the renderer from starting.

I think the right solution is to not hard code the path at all and just let the system resolve the link. Changing these two lines fixes the rendered example for me (I'm on Arch Linux with an Nvidia card and proprietary Nvidia drivers), and running all_tests shows everything as passing.

AnthonyBrunasso commented 6 years ago

Very nice, thank you!