sciapp / gr

GR framework: a graphics library for visualisation applications
Other
328 stars 54 forks source link

Fix for building on FreeBSD #125

Closed ko56 closed 4 years ago

ko56 commented 4 years ago

All that is needed for the master branch to compile on FreeBSD 12 is this fix in gr-master/lib/gr3/gr3_internals.h:

elif defined(linux) || defined(FreeBSD)

/ OpenGL Extension to the X Window System (GLX) on Linux /

define GR3_USE_GLX

include "gr3_glx.h"

elif defined(_WIN32)

FlorianRhiem commented 4 years ago

Hello, thank you for the hint! I've merged it into develop, so it'll be part of the next release. I don't think we have any FreeBSD developers at this time, so if you run into any other issues with GR on FreeBSD, please let us know or open a pull request.

ko56 commented 4 years ago

Thanks. I will let you know if there are other problems.