prog.cpp:27:2: error: invalid preprocessing directive #version
prog.cpp:2: error: ‘FRAGMENT’ does not name a type
prog.cpp:8: error: ‘::main’ must return ‘int’
prog.cpp: In function ‘int main()’:
prog.cpp:15: error: ‘gl_FragColor’ was not declared in this scope
prog.cpp:15: error: ‘texture’ was not declared in this scope
prog.cpp:15: error: ‘texture_coord’ was not declared in this scope
prog.cpp:15: error: ‘texture’ was not declared in this scope
prog.cpp:15: error: declaration of ‘<typeprefixerror>texture’
prog.cpp:15: error: conflicts with previous declaration ‘<typeprefixerror>texture’
prog.cpp: At global scope:
prog.cpp:25: error: ‘VERTEX’ does not name a type
prog.cpp:40: error: ‘in’ does not name a type
prog.cpp:42: error: ‘out’ does not name a type
prog.cpp:44: error: ‘uniform’ does not name a type
prog.cpp:56: error: ‘::main’ must return ‘int’
prog.cpp: In function ‘int main()’:
prog.cpp:56: error: redefinition of ‘int main()’
prog.cpp:8: error: ‘int main()’ previously defined here
prog.cpp:61: error: ‘texture_coord’ was not declared in this scope
prog.cpp:61: error: ‘texture_coordinate’ was not declared in this scope
prog.cpp:67: error: ‘gl_Position’ was not declared in this scope
prog.cpp:67: error: ‘position’ was not declared in this scope
prog.cpp:67: error: ‘translations’ was not declared in this scope
prog.cpp:67: error: ‘vec4’ was not declared in this scope