Re: [Pythonmac-SIG] Building against OpenGL

2022-03-22 Thread Chris Barker via Pythonmac-SIG
As usual, once you pose the question -- you find the answer. The trick was not to try to link directly, but rather to use Apple's nifty "Framework" concept: extra_link_args.append("-framework OpenGL") Posting this in case anyone else happens upon it. -CHB On Tue, Mar 22, 2022 at 12:47 PM Ch

[Pythonmac-SIG] Building against OpenGL

2022-03-22 Thread Chris Barker via Pythonmac-SIG
I have an app that uses a C (Cython) extension that needs to link against the OpenGL libs (libGL and libGLU) Here's the code that used to work: gl_libraries = ["GL", "GLU"] ... gl_include_dirs.append( "/System/Library/Frameworks/OpenGL.framework/Headers", ) gl_library_d