<div>Hi,</div><div><br></div><div>I am trying to build Cairo with OpenGL support as backend. I modified the build/Makefile.win32.features file by setting</div><div><br></div><div>CAIRO_HAS_GL_SURFACE to 1 (which is by default 0)</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span></div><div>The cairo library gets compiled if this is set to zero. I made the above parameter 1, and I modified the build/Makefile.Win32.common file by adding this following script</div>
<div><br></div><div>ifeq($(CAIRO_HAS_GL_SURFACE), 1)</div><div>GLEXT_CFLAGS += -I$(top_srcdir)/../GL</div><div>CAIRO_LIBS += opengl32.lib glu32.lib</div><div>endif</div><div><br></div><div>I added glext.h file and also provided opengl32.lib and glu32.lib. Still I am getting linking error</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span></div><div>cairo-gl-composite.obj: error LNK2019: unresolved external symbol _glBendFuncSeparate@16 referenced in function __cairo_gl_set_operator...</div>
<div>cairo-gl-composite.obj: error LNK2019: unresolved external symbol _glActiveTexture@4 referenced in function __cairo_gl_context_setup_operand...</div><div>cairo-gl-device.obj: error LNK2001: unresolved external symbol _glActiveTexture@4</div>
<div>cairo-gl-glyphs.obj: error LNK2001: unresolved external symbol _glActiveTexture@4</div><div><br></div><div>Where I am going wrong? Please help me.</div><div><br></div><div>THanks</div>