I am using cocos2dx on linux
When I run command
cocos run -p linux
/home/gust/Desktop/myproject/bin/debug/linux/myproject: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
Error running command, return code: 127.
i tried installing libglew with sudo apt
and putting libglew2.so path with set in cmakelists and the beginning for include and lib and tried putting the path in my .profile also and tried copying a downloaded glew folder into the executable folder but it gets overwritten when i run the cocos run -p linux command anyway i dont know how to fix this anymore