Opened 7 weeks ago

#69523 new defect

gpac build error on 10.6: error: 'GL_FRAMEBUFFER' undeclared (first use in this function); did you mean 'GL_DRAW_BUFFER'?

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: tiger, leopard, snowleopard, powerpc Cc: mohd-akram (Mohamed Akram)
Port: gpac

Description

/opt/local/bin/gcc-mp-13 -I"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_gpac/gpac/work/gpac-2.2.1/include"  -O3 -I/opt/local/include  -arch ppc -Wall -fno-strict-aliasing -Wno-pointer-sign -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -DGPAC_HAVE_CONFIG_H -I"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_multimedia_gpac/gpac/work/gpac-2.2.1" -fvisibility="hidden"  -I/opt/local/libexec/openssl3/include   -DGPAC_HAS_GLU -c -o compositor/texturing_gl.o compositor/texturing_gl.c
compositor/texturing_gl.c: In function 'gf_sc_texture_enable_fbo':
compositor/texturing_gl.c:941:9: warning: implicit declaration of function 'glBindFramebuffer'; did you mean 'glBindFramebufferEXT'? [-Wimplicit-function-declaration]
  941 |         glBindFramebuffer(GL_FRAMEBUFFER, enable ? txh->tx_io->fbo_id : 0);
      |         ^~~~~~~~~~~~~~~~~
      |         glBindFramebufferEXT
compositor/texturing_gl.c:941:27: error: 'GL_FRAMEBUFFER' undeclared (first use in this function); did you mean 'GL_DRAW_BUFFER'?
  941 |         glBindFramebuffer(GL_FRAMEBUFFER, enable ? txh->tx_io->fbo_id : 0);
      |                           ^~~~~~~~~~~~~~
      |                           GL_DRAW_BUFFER
compositor/texturing_gl.c:941:27: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [compositor/texturing_gl.o] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.