Page 1 of 1

[Done] ld: framework 'AGL' not found - PureBasic 6.30 beta 7

Posted: Sun Jan 25, 2026 11:59 pm
by sblank
PureBasic 6.30 beta 7 - C Backend (arm64) - OpenGLGadget.pb

PureBasic - Linker Error

ld: warning: ignoring duplicate libraries: '-lm', '-lpthread', '/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a', '/Applications/PureBasic.app/Contents/Resources/compilers/objectmanager.a', '/Applications/PureBasic.app/Contents/Resources/compilers/systembase.a', '2DDrawing.a', '2DDrawingBase.a', 'Array.a', 'Cipher.a', 'CipherMD5.a', 'Cocoa.a', 'Date.a', 'Desktop.a', 'DragDrop.a', 'Event.a', 'FileSystem.a', 'Font.a', 'Gadget.a', 'GadgetOpenGL.a', 'Image.a', 'ImagePlugin.a', 'ImagePluginBMP.a', 'Internal.a', 'LinkedList.a', 'Map.a', 'Memory.a', 'Menu.a', 'Network.a', 'Requester.a', 'SimpleList.a', 'String.a', 'System.a', 'VectorDrawing.a', 'Window.a'
ld: framework 'AGL' not found
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using a MacBook Pro M1 Max with the latest Tahoe 26.2

When trying to run the OpenGLGadget.pb file I get the 'framework 'AGL' not found' linker error. Any workarounds for this error on the Mac arm64 platform?

Re: ld: framework 'AGL' not found - PureBasic 6.30 beta 7

Posted: Mon Jan 26, 2026 8:02 am
by Fred
Try with 6.30.final

Re: ld: framework 'AGL' not found - PureBasic 6.30 beta 7

Posted: Mon Jan 26, 2026 3:59 pm
by sblank
That worked... thanks!

I tried to download the 6.40 Beta 1 for Mac arm (using the link under the Beta download section), but the version that was downloaded from that link was the 6.30 beta 7. The 6.30 final download works.

Again, thank you!

Stan