paroj / gltut

Learning Modern 3D Graphics Programming
https://paroj.github.io/gltut/
MIT License
1.57k stars 377 forks source link

expected ')' before barriers - building glsdk with tutorials 0.3.7 & 0.3.8 #85

Closed paroj closed 3 years ago

paroj commented 10 years ago

Originally reported by: Anonymous


Hello, first off thanks for all these tutorials.

I've tried building the GLSDK that comes with the tutorial (tried 0.3.7 and 0.3.8) using both codeblocks 13.12 and GNU 4.8.1 and I get the exact same error.

It looks like this: " ..\glload\include\glload_int_gl_exts.hpp|6913|error: expected ')' before 'barriers'| " from the codeblocks console, and like this in gcc: " ../glload/include/glload/_int_gl_exts.hpp:6913:39: error: expected ')' before 'b arriers' inline void MemoryBarrier(GLbitfield barriers) { ::__gleMemoryBarrier(barriers ); } "

Is this an expected issue? I'm using Premake4 and I believe I had it installed correctly. It shows up in my terminal at any rate (and it successfully generated the Makefile and workspace file for Codeblocks).


paroj commented 3 years ago

fixed with db01d1c5d255a9e819facb9dcfc47cd560b27268