pi@raspberrypi:~ $ sudo gcc -c triangle.c -o triangle.o -I/opt/vc/include
triangle.c:7:1: error: expected identifier or ‘(’ before ‘<’ token
^
triangle.c:51:52: error: stray ‘\302’ in program
<title>rpi-opengl-without-x/triangle.c at master ?? matusnovak/rpi-opengl-without-x · GitHub</title>
^
triangle.c:51:53: error: stray ‘\267’ in program
<title>rpi-opengl-without-x/triangle.c at master ?? matusnovak/rpi-opengl-without-x · GitHub</title>
^
triangle.c:51:87: error: stray ‘\302’ in program
l-without-x/triangle.c at master · matusnovak/rpi-opengl-without-x ?? GitHub</title>
^
triangle.c:51:88: error: stray ‘\267’ in program
-without-x/triangle.c at master · matusnovak/rpi-opengl-without-x ?? GitHub</title>
^
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:91:44: warning: unknown escape sequence: '&'
triangle.c:169:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘<’ token
^
triangle.c:176:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘<’ token
^
triangle.c:202:275: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:204:251: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:205:262: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:206:268: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:207:264: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:208:264: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:209:271: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:210:285: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:211:272: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:215:323: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:216:339: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:239:307: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:244:299: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:245:316: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:246:305: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:247:327: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:248:340: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:253:279: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:254:317: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:255:334: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:256:340: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:257:349: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:277:270: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:280:333: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:281:343: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:285:343: error: expected identifier or ‘(’ before ‘<’ token
link-symbol float-right text-normal color-text-tertiary pr-3">→
^
triangle.c:303:10: warning: missing terminating ' character
^
triangle.c:303:10: error: missing terminating ' character
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:350:75: error: stray ‘\342’ in program
???
^
triangle.c:350:76: error: stray ‘\206’ in program
???
^
triangle.c:350:77: error: stray ‘\265’ in program
??
^
triangle.c:355:56: error: stray ‘\342’ in program
???
^
triangle.c:355:57: error: stray ‘\206’ in program
???
^
triangle.c:355:58: error: stray ‘\265’ in program
??
^
triangle.c:391:75: error: stray ‘\342’ in program
???
^
triangle.c:391:76: error: stray ‘\206’ in program
???
^
triangle.c:391:77: error: stray ‘\265’ in program
??
^
triangle.c:396:56: error: stray ‘\342’ in program
???
^
triangle.c:396:57: error: stray ‘\206’ in program
???
^
triangle.c:396:58: error: stray ‘\265’ in program
??
^
triangle.c:423:75: error: stray ‘\342’ in program
???
^
triangle.c:423:76: error: stray ‘\206’ in program
???
^
triangle.c:423:77: error: stray ‘\265’ in program
??
^
triangle.c:428:56: error: stray ‘\342’ in program
???
^
triangle.c:428:57: error: stray ‘\206’ in program
???
^
triangle.c:428:58: error: stray ‘\265’ in program
??
^
triangle.c:455:75: error: stray ‘\342’ in program
???
^
triangle.c:455:76: error: stray ‘\206’ in program
???
^
triangle.c:455:77: error: stray ‘\265’ in program
??
^
triangle.c:460:56: error: stray ‘\342’ in program
???
^
triangle.c:460:57: error: stray ‘\206’ in program
???
^
triangle.c:460:58: error: stray ‘\265’ in program
??
^
triangle.c:519:25: error: expected identifier or ‘(’ before ‘<’ token
{{ message }}
^
triangle.c:712:50: error: invalid suffix "f68d0d9ae15f0b54b3bdb6b92e35971d3c6d6527745ee6e71ee3fb1" on floating constant
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:758:25: warning: missing terminating " character
data-action="
^
triangle.c:758:25: error: missing terminating " character
triangle.c:759:41: error: stray ‘#’ in program
input-entered:ref-selector#inputEntered
^
triangle.c:760:40: error: stray ‘#’ in program
tab-selected:ref-selector#tabSelected
^
triangle.c:761:38: error: stray ‘#’ in program
focus-list:ref-selector#focusFirstListMember
^
triangle.c:762:13: warning: missing terminating " character
"
^
triangle.c:762:13: error: missing terminating " character
triangle.c:775:80: warning: missing terminating ' character
triangle.c:775:80: error: missing terminating ' character
triangle.c:788:109: error: expected identifier or ‘(’ before ‘<’ token
css-truncate css-truncate-overflow {{ isFilteringClass }}">{{ refName }}
^
triangle.c:800:25: warning: missing terminating " character
data-action="
^
triangle.c:800:25: error: missing terminating " character
triangle.c:801:41: error: stray ‘#’ in program
input-entered:ref-selector#inputEntered
^
triangle.c:802:40: error: stray ‘#’ in program
tab-selected:ref-selector#tabSelected
^
triangle.c:803:38: error: stray ‘#’ in program
focus-list:ref-selector#focusFirstListMember
^
triangle.c:804:13: warning: missing terminating " character
"
^
triangle.c:804:13: error: missing terminating " character
triangle.c:820:109: error: expected identifier or ‘(’ before ‘<’ token
css-truncate css-truncate-overflow {{ isFilteringClass }}">{{ refName }}
^
triangle.c:902:43: warning: missing terminating " character
<a data-pjax="true" title="Added Raspberry Pi 4 example
^
triangle.c:902:43: error: missing terminating " character
<a data-pjax="true" title="Added Raspberry Pi 4 example
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:904:133: warning: missing terminating " character
rpi-opengl-without-x/commit/c04a155601184c0bf14901dca2f89d6a96cac519">Added Raspberry Pi 4 example
^
triangle.c:904:133: error: missing terminating " character
rpi-opengl-without-x/commit/c04a155601184c0bf14901dca2f89d6a96cac519">Added Raspberry Pi 4 example
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:909:111: error: expected identifier or ‘(’ before ‘<’ token
s="ellipsis-expander js-details-target" aria-expanded="false">…
^
triangle.c:973:16: warning: missing terminating " character
<div class="Box mt-3 position-relative
^
triangle.c:973:16: error: missing terminating " character
<div class="Box mt-3 position-relative
^~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:974:7: warning: missing terminating " character
">
^
triangle.c:974:7: error: missing terminating " character
">
^~
triangle.c:1019:69: error: stray ‘#’ in program
#include <EGL/egl.h>
^
triangle.c:1019:148: error: expected identifier or ‘(’ before ‘<’ token
s="pl-k">include <EGL/egl.h>
^
triangle.c:1019:189: error: expected identifier or ‘(’ before ‘<’ token
"><EGL/egl.h>
^
triangle.c:1023:69: error: stray ‘#’ in program
#include <GLES2/gl2.h>
^
triangle.c:1023:148: error: expected identifier or ‘(’ before ‘<’ token
s="pl-k">include <GLES2/gl2.h>
^
triangle.c:1023:191: error: expected identifier or ‘(’ before ‘<’ token
<GLES2/gl2.h>
^
triangle.c:1027:69: error: stray ‘#’ in program
#include <stdio.h>
^
triangle.c:1027:148: error: expected identifier or ‘(’ before ‘<’ token
s="pl-k">include <stdio.h>
^
triangle.c:1027:187: error: expected identifier or ‘(’ before ‘<’ token
-s"><stdio.h>
^
triangle.c:1031:69: error: stray ‘#’ in program
#include <stdlib.h>
^
triangle.c:1031:148: error: expected identifier or ‘(’ before ‘<’ token
s="pl-k">include <stdlib.h>
^
triangle.c:1031:188: error: expected identifier or ‘(’ before ‘<’ token
s"><stdlib.h>
^
triangle.c:1035:69: error: stray ‘#’ in program
#include <unistd.h>
^
triangle.c:1035:148: error: expected identifier or ‘(’ before ‘<’ token
s="pl-k">include <unistd.h>
^
triangle.c:1035:188: error: expected identifier or ‘(’ before ‘<’ token
s"><unistd.h>
^
triangle.c:1091:125: error: expected identifier or ‘(’ before ‘<’ token
nner js-file-line"> EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_NONE};
^
triangle.c:1128:72: error: expected identifier or ‘(’ before ‘<’ token
};
^
triangle.c:1141:120: error: expected identifier or ‘(’ before ‘<’ token
ode-inner js-file-line"> EGL_NONE};
^
triangle.c:1162:124: error: invalid suffix "f" on integer constant
js-file-line"> -1.0f,
^~
triangle.c:1166:124: error: invalid suffix "f" on integer constant
js-file-line"> -1.0f,
^~
triangle.c:1170:123: error: invalid suffix "f" on integer constant
js-file-line"> 0.0f,
^~
triangle.c:1174:123: error: invalid suffix "f" on integer constant
js-file-line"> 1.0f,
^~
triangle.c:1178:124: error: invalid suffix "f" on integer constant
js-file-line"> -1.0f,
^~
triangle.c:1182:123: error: invalid suffix "f" on integer constant
js-file-line"> 0.0f,
^~
triangle.c:1186:123: error: invalid suffix "f" on integer constant
js-file-line"> 0.0f,
^~
triangle.c:1190:123: error: invalid suffix "f" on integer constant
js-file-line"> 1.0f,
^~
triangle.c:1194:123: error: invalid suffix "f" on integer constant
js-file-line"> 0.0f,
^~
triangle.c:1198:72: error: expected identifier or ‘(’ before ‘<’ token
};
^
triangle.c:1211:70: error: stray ‘#’ in program
#define STRINGIFY(x) #x
^
triangle.c:1211:170: error: stray ‘#’ in program
span> STRINGIFY(x) #x
^
triangle.c:1219:94: error: expected identifier or ‘(’ before ‘<’ token
ss="blob-code blob-code-inner js-file-line"> attribute vec3 pos; void main() { gl_Position = vec4(pos, 1.0); });
^
triangle.c:1219:246: error: expected identifier or ‘(’ before ‘)’ token
vec4(pos, 1.0); });
^
triangle.c:1219:248: error: expected identifier or ‘(’ before ‘<’ token
vec4(pos, 1.0); });
^
triangle.c:1232:131: error: expected identifier or ‘(’ before ‘<’ token
-line"> STRINGIFY(uniform vec4 color; void main() { gl_FragColor = vec4(color); });
^
triangle.c:1232:254: error: expected identifier or ‘(’ before ‘)’ token
main() { gl_FragColor = vec4(color); });
^
triangle.c:1232:256: error: expected identifier or ‘(’ before ‘<’ token
main() { gl_FragColor = vec4(color); });
^
triangle.c:1445:72: error: expected identifier or ‘(’ before ‘<’ token
}
^
triangle.c:1495:259: error: stray ‘\’ in program
L display! Error: %s\n",
^
triangle.c:1524:259: error: stray ‘\’ in program
L version! Error: %s\n",
^
triangle.c:1549:267: error: stray ‘\’ in program
"pl-c1">%d.%d\n", major, minor);
^
triangle.c:1574:258: error: stray ‘\’ in program
GL config! Error: %s\n",
^
triangle.c:1615:262: error: stray ‘\’ in program
L surface! Error: %s\n",
^
triangle.c:1665:262: error: stray ‘\’ in program
L context! Error: %s\n",
^
triangle.c:1774:260: error: stray ‘\’ in program
"pl-c1">%dx%d\n", viewport[2], viewport[3]);
^
triangle.c:1803:189: error: stray ‘\’ in program
lass="pl-pds">"EGL might be faulty!\n");
^
triangle.c:1820:164: error: invalid suffix "f" on integer constant
lClearColor(0.0f, 0.0f, 0.0f, 1.0f);
^~
triangle.c:1820:224: error: invalid suffix "f" on integer constant
"pl-c1">0f, 0.0f, 0.0f, 1.0f);
^~
triangle.c:1820:284: error: invalid suffix "f" on integer constant
"pl-c1">0f, 0.0f, 1.0f);
^~
triangle.c:1820:344: error: invalid suffix "f" on integer constant
"pl-c1">0f, 1.0f);
^~
triangle.c:1948:205: error: invalid suffix "f" on integer constant
pl-c1">1.0, 0.0f, 0.5, 1.0);
^~
triangle.c:2069:241: error: stray ‘\’ in program
n>Failed to open file triangle.raw for writing!\n");
^
triangle.c:2115:72: error: expected identifier or ‘(’ before ‘<’ token
}
^
triangle.c:2150:12: warning: missing terminating ' character
^
triangle.c:2150:12: error: missing terminating ' character
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
triangle.c:2173:39: error: expected identifier or ‘(’ before numeric constant
© 2021 GitHub, Inc.
^~~~
triangle.c:2207:12: error: stray ‘\342’ in program
You can???t perform that action at this time.
^
triangle.c:2207:13: error: stray ‘\200’ in program
You can???t perform that action at this time.
^
triangle.c:2207:14: error: stray ‘\231’ in program
You can??t perform that action at this time.