Post bugreports for the Mac OSX version here
spacebuddy
Enthusiast
Posts: 359 Joined: Thu Jul 02, 2009 5:42 am
Post
by spacebuddy » Mon Jul 21, 2025 7:42 pm
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
mk-soft
Always Here
Posts: 6238 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Mon Jul 21, 2025 10:35 pm
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)
Piero
Addict
Posts: 901 Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy
Post
by Piero » Tue Jul 22, 2025 4:35 pm
spacebuddy wrote: Mon Jul 21, 2025 7:42 pm I’m currently testing on macOS 26 Beta
You must be a very courageous guy
spacebuddy
Enthusiast
Posts: 359 Joined: Thu Jul 02, 2009 5:42 am
Post
by spacebuddy » Tue Jul 22, 2025 7:40 pm
is it possible to link to opengl since the AGL framework is gone?
Thanks
mk-soft
Always Here
Posts: 6238 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Tue Jul 22, 2025 10:12 pm
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.
mk-soft
Always Here
Posts: 6238 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sat Aug 02, 2025 11:55 am
Unfortunately, there is no Tahoe Beta 4 for Intel. So I can't test them in a VM.
However, the used carbon api's should be replaced. ALG no longer exists
mk-soft
Always Here
Posts: 6238 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Mon Aug 25, 2025 3:23 pm
I won't get macOS 26 (Tahoe) for my Mac Mini 2018. Is not longer supported
Thus, I can no longer test which framework like AGL no longer exists.
Please test everyone who supports macOS Tahoe with PureBasic v6.21 and the next PureBasic 6.30 beta.
Last edited by
mk-soft on Tue Aug 26, 2025 1:41 am, edited 3 times in total.
spacebuddy
Enthusiast
Posts: 359 Joined: Thu Jul 02, 2009 5:42 am
Post
by spacebuddy » Mon Aug 25, 2025 5:43 pm
The full release of Tahoe should be available in about 4 weeks.
Piero
Addict
Posts: 901 Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy
Post
by Piero » Wed Aug 27, 2025 12:56 pm
mk-soft wrote: Mon Aug 25, 2025 3:23 pm
I won't get macOS 26 (Tahoe) for my Mac Mini 2018. Is not longer supported
Absolutely no need to cry (from your Fan that was still on Monterey M1 just some weeks ago)
spacebuddy
Enthusiast
Posts: 359 Joined: Thu Jul 02, 2009 5:42 am
Post
by spacebuddy » Wed Aug 27, 2025 7:00 pm
Fred will have some work to get Purebasic working well on Tahoe, lots of issues when I tested.