<div style="color:#000; font-size: 14px;font-family: arial;"><div>I tried to build cairo with OpenGL—not EGL or GLES2—support with Visual Studio 2013 on Windows 10 but finally got stuck.<br>The error log:<br>    1>cairo-gl-composite.obj : error LNK2019: unresolved external symbol _glActiveTexture@4 referenced in function __cairo_gl_context_setup_operand<br>    1>cairo-gl-device.obj : error LNK2001: unresolved external symbol _glActiveTexture@4<br>    1>cairo-gl-glyphs.obj : error LNK2001: unresolved external symbol _glActiveTexture@4<br>    1>cairo-gl-composite.obj : error LNK2019: unresolved external symbol _glBlendFuncSeparate@16 referenced in function __cairo_gl_set_operator</div><div><br></div><div>It seems that `glActiveTexture` and `glBlendFuncSeparate` are not in the opengl32.lib(opengl32.dll), although they are defined in glext.h ( just downloaded it from <a href="https://www.opengl.org/registry/api/GL/glext.h" _src="https://www.opengl.org/registry/api/GL/glext.h">https://www.opengl.org/registry/api/GL/glext.h</a> ).</div><div><br></div><div>According to this post ( <a href="https://devtalk.nvidia.com/default/topic/911348/opengl/where-opengl-2-1-located-in-the-driver-package/post/4784110/#4784110" _src="https://devtalk.nvidia.com/default/topic/911348/opengl/where-opengl-2-1-located-in-the-driver-package/post/4784110/#4784110">https://devtalk.nvidia.com/default/topic/911348/opengl/where-opengl-2-1-located-in-the-driver-package/post/4784110/#4784110</a>  ), the opngl32.dll only contains Microsoft's software OpenGL 1.1 implementation.  And `glActiveTexture` is a function in OpenGL 1.3 and `glBlendFuncSeparate` is a function in OpenGL 1.4. So they are not in the dll. ***That's the problem.*** I think this is a bug of the openGL backend on windows.</div><div><br></div><div>My approach is to add the glew (<a href="https://github.com/nigels-com/glew/" _src="https://github.com/nigels-com/glew/">https://github.com/nigels-com/glew/</a>) to cairo. Then the compilation is succeeded in VS2013. I will try the compiled cairo dll tomorrow.<br></div></div>