zigalenarcic / mangl

An enhanced man page viewer for linux and BSD systems based on OpenGL and mandoc libraries
Other
39 stars 7 forks source link

main.c: use apple gl.h on macos #11

Closed forivall closed 1 year ago

forivall commented 1 year ago

This at least allows it to build, although display isnt working, so that still needs some figuring out. eg. ./mangl -f man gives an empty black window with the titlebar man(1) - mangl, so some stuff is working. Tons of deprecated warnings on build too.

To install the dependencies with homebrew is: brew install zlib glfw freetype

zigalenarcic commented 1 year ago

Hi Thank you for your contribution. I'm not entirely familiar with the situation on MacOS with regards to OpenGL. Perhaps the mode required by the mangl is not supported anymore.

forivall commented 1 year ago

Yeah, I havent touched OpenGL in at least a decade, so I dont know either, I just knew how to google for the headers and fix the build, and see if it worked. Unfortunately not, so hopefully someone else can figure it out.