[SELF RESOLVED] linking failed after upgrading glew on msys2-mingw64

of 0.11.0 for msys2-64bit on Windows 10
After updating mingw-w64-x86_64-glew to 2.2.0-1, the command make fails with default Makefile.
It produces strange linking command that contains strange option @libgl@ and then make fails (see the output screenshot).

way to reproducing: upgrade mingw-w64-x86_64-glew to 2.2.0-1
way to fix: downgrade mingw-w64-x86_64-glew to 2.1.0-1

I’ve been struggling with this problem for the last few days and finally managed to solve it today.I hope it will be useful for those who are in the same situation.!
output screenshot|690x190

1 Like