Shaders work in Direct3D but not in DesktopGL

It works fine in DirectX projects.
However, in the DesktopGL project, I get an error at runtime.

Please let me know where I can correct this.

My final target is iOS and Android, but it occurred while trying to create a test environment with DesktopGL first.