Page 1 of 1

Mac OS/X beta 26

Posted: Mon Jul 21, 2025 7:42 pm
by spacebuddy
I’m currently testing on macOS 26 Beta (Apple Silicon), and I’ve run into a linker error when compiling PureBasic code that uses any graphics-related commands—even basic ones like InitSprite() or CanvasGadget(). The compiler reports:

Linker Error: framework AGL not found

Is anyone else getting this error or is my system messed up?

Thanks :D

Re: Mac OS/X beta 26

Posted: Mon Jul 21, 2025 10:35 pm
by mk-soft
Then the AGL framework will probably be missing in your beta.


https://developer.apple.com/documentati ... ease-notes
AGL
Deprecations
AGL is no longer available in the macOS SDK. AGL was previously used to present OpenGL content in Carbon apps, and Carbon no longer exists in the SDK. AGL symbols now do nothing on 64-bit systems, including Intel x86_64 and Apple Silicon Macs. It is safe to remove any AGL usage and stop linking AGL. OpenGL still remains in the SDK. (153913819)

Re: Mac OS/X beta 26

Posted: Tue Jul 22, 2025 4:35 pm
by Piero
spacebuddy wrote: Mon Jul 21, 2025 7:42 pmI’m currently testing on macOS 26 Beta
You must be a very courageous guy

Re: Mac OS/X beta 26

Posted: Tue Jul 22, 2025 7:40 pm
by spacebuddy
is it possible to link to opengl since the AGL framework is gone?

Thanks :D

Re: Mac OS/X beta 26

Posted: Tue Jul 22, 2025 10:12 pm
by mk-soft
Fred (our super PureBasic developer) probably has to go there and remove the last dependencies of AGL.

But will only be implemented with the next PureBasic Beta/Release v 6.22.