fbc icon indicating copy to clipboard operation
fbc copied to clipboard

Add support for Cocoa OpenGL screen in gfxlib2 and other compiler error fixes for macOS

Open Markos-Th09 opened this issue 10 months ago • 6 comments

This PR includes several changes to improve support for the macOS platform in fbc and its libraries. It also aims to add support for OpenGL screens using Cocoa instead of requiring XQuartz for X11 support, although at the time of writing this I haven't tested the implementation very thoroughly yet.

Currently some mechanism similar to #inclib but for macOS frameworks is missing. Since a lot of important system libraries contained within frameworks such as OpenGL, this would be useful for headers such as gl.bi and glut.bi but also in general. How should this feature be implemented in FreeBASIC?

Markos-Th09 avatar Mar 31 '25 13:03 Markos-Th09