seandepagnier / weatherfax_pi

weather fax plugin for opencpn
GNU General Public License v3.0
20 stars 27 forks source link

src: Use the native apple gl.h header. #152

Closed leamas closed 2 years ago

leamas commented 2 years ago

The gl.h header is available in all MacOs versions. Since the opengl headers are designed to be adapted by the OS vendor, they actually do differ on different platforms. For this reason, using the version provided by the OS, here MacOS, should be preferred if available.

Adjust the include path on MacOS to the location where gl.h et. al. lives.

The patch makes it possible to build against MacOS without using any bundled OpenGL headers.

rgleason commented 2 years ago

Sean, Your branch is behind and we are diverging.

rgleason commented 2 years ago

I will try applying Leamas patch and then make a PR. Later.