Re: GLX and Xlib

2021-01-24 Thread Csaba Raduly via Cygwin
Hi Rafal, On Sun, 24 Jan 2021 at 11:48, Rafał Jopek via Cygwin wrote: > > Hello, > > I have a compile error, can anyone help fix this? > > An example is here: > https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_GLX_and_Xlib > > Compile error: > > $ gcc quad.c -o quad -lX11 -lGL -lG

GLX and Xlib

2021-01-24 Thread Rafał Jopek via Cygwin
Hello, I have a compile error, can anyone help fix this? An example is here: https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_GLX_and_Xlib Compile error: $ gcc quad.c -o quad -lX11 -lGL -lGLU In file included from quad.c:12: /usr/include/w32api/GL/glu.h:68:78: error: expected ‘)