Mac OS/X beta 26

Post bugreports for the Mac OSX version here
spacebuddy
Enthusiast
Enthusiast
Posts: 356
Joined: Thu Jul 02, 2009 5:42 am

Mac OS/X beta 26

Post 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
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Mac OS/X beta 26

Post 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)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Mac OS/X beta 26

Post 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
spacebuddy
Enthusiast
Enthusiast
Posts: 356
Joined: Thu Jul 02, 2009 5:42 am

Re: Mac OS/X beta 26

Post by spacebuddy »

is it possible to link to opengl since the AGL framework is gone?

Thanks :D
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Mac OS/X beta 26

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply