[MacPorts] #61174: supertuxkart @1.2: undefined symbols "_glBlendEquationiARB", "_glBlendFunciARB" on 10.7
MacPorts
noreply at macports.org
Sun Sep 13 20:02:16 UTC 2020
#61174: supertuxkart @1.2: undefined symbols "_glBlendEquationiARB",
"_glBlendFunciARB" on 10.7
--------------------------+--------------------------
Reporter: chrstphrchvz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: supertuxkart
--------------------------+--------------------------
[https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/30546/steps
/install-port/logs/stdio Build fails on 10.7]:
{{{
Undefined symbols for architecture x86_64:
"_glBlendEquationiARB", referenced from:
irr::video::COpenGLDriver::setRenderTarget(irr::core::array<irr::video::IRenderTarget,
irr::core::irrAllocator<irr::video::IRenderTarget> > const&, bool, bool,
irr::video::SColor) in libstkirrlicht.a(COpenGLDriver.cpp.o)
"_glBlendFunciARB", referenced from:
irr::video::COpenGLDriver::setRenderTarget(irr::core::array<irr::video::IRenderTarget,
irr::core::irrAllocator<irr::video::IRenderTarget> > const&, bool, bool,
irr::video::SColor) in libstkirrlicht.a(COpenGLDriver.cpp.o)
}}}
I'm not sure why this error happens: any
`glBlendFunciARB()`/`glBlendEquationiARB()` usage is
[https://github.com/supertuxkart/stk-
code/blob/1.2/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h#L2338
guarded] by `#elif defined(GL_ARB_draw_buffers_blend)`, which is
[https://github.com/phracker/MacOSX-
SDKs/blob/9fc3ed0ad0345950ac25c28695b0427846eea966/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl3ext.h#L170
defined in 10.9 SDK], but not 10.8 or earlier (I'm not sure why the 10.8
build succeeds); see "ARB_draw_buffers_blend" extension in
[http://arek.bdmonkeys.net/GLInfo/GLInfo_1085_Core.html macOS OpenGL
capabilities tables]. Whether this functionality is available at runtime
is probably also dependent on what GPU is present.
(I personally do not use this port.)
--
Ticket URL: <https://trac.macports.org/ticket/61174>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list