[MacPorts] #69523: gpac build error on 10.6: error: 'GL_FRAMEBUFFER' undeclared (first use in this function); did you mean 'GL_DRAW_BUFFER'?
MacPorts
noreply at macports.org
Sun Mar 17 04:29:07 UTC 2024
#69523: gpac build error on 10.6: error: 'GL_FRAMEBUFFER' undeclared (first use in
this function); did you mean 'GL_DRAW_BUFFER'?
--------------------------------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: tiger, leopard, snowleopard, powerpc | Port: gpac
--------------------------------------------------+--------------------
{{{
/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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69523>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list