Fixed path and made shaders work, removed segmentation fault.
Symlinked resources to debug folder, for linux