Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to use current version of opengl in cygwin?
    primarykey
    data
    text
    <p>I have been using OpenGL with cygwin for a few months to program some 3d applications. I now want to attempt to write some slightly more advanced techniques using things like vertex buffer objects. However, I noticed that I ran into an obstacle: when I use <code>glGetString(GL_VERSION)</code> in my program it spits out 1.4.</p> <p>I compile my program with these flags: <code>-lGL -lglut -lGLU -lGLEW</code> and have included these headers: <code>freeglut.h glew.h</code>. I have chosen to link against the X11 libraries vs. the windows ones as explained <a href="https://stackoverflow.com/questions/389488/compiling-minimal-glew-application-under-cygwin">here</a>. My current OpenGL programs build and are able to run (because up until now, I have used older functionality--pre-OpenGL 1.4).</p> <p>I have a new desktop computer with an ATI FirePro V4800 (FireGL) graphics card that can support up to OpenGL 4.1. I have installed the latest drivers and it passes the tests supplied by the program: OpenGL Extensions Viewer. In addition, the program shows that all the extensions up to and including 4.1 are available for my graphics card.</p> <p>There is a brief mention <a href="https://stackoverflow.com/questions/14344/starting-off-with-opengl-under-cygwin">here</a> under the last answer saying that cygwin may want to use older dlls (ones that don't support shaders, etc.). Is this a cygwin problem? Will cygwin just not recognize my latest drivers and offer me the cool stuff in OpenGL 4.1? Or am I not linking to the correct libraries?</p> <p><strong>UPDATE</strong></p> <p>After getting to know how Cygwin's X Server works I figured I should switch to freeglut's native windows libraries. I grabbed the pre-compiled binaries found <a href="http://www.transmissionzero.co.uk/software/freeglut-devel/" rel="nofollow noreferrer">here</a> and put the files in appropriate directories to link against them. After recompiling I am able to use all the options found in OpenGL as my graphics card permits (4.1).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload