Opened 4 years ago

Closed 4 years ago

#61174 closed defect (fixed)

supertuxkart @1.2: undefined symbols "_glBlendEquationiARB", "_glBlendFunciARB" on 10.7

Reported by: chrstphrchvz (Christopher Chavez) Owned by: ken-cunningham-webuse
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: supertuxkart

Description

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 guarded by #elif defined(GL_ARB_draw_buffers_blend), which is 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 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.)

Change History (1)

comment:1 Changed 4 years ago by ken-cunningham-webuse

Owner: set to ken-cunningham-webuse
Resolution: fixed
Status: newclosed

In 18501c1bd34c5935d527cf5e6427520baba5e0d4/macports-ports (master):

supertuxkart: update buildable systems

closes: #61174

Note: See TracTickets for help on using tickets.