JoeyDeVries / LearnOpenGL

Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
https://learnopengl.com
Other
11.1k stars 2.81k forks source link

Does not build on FreeBSD 13.2-RELEASE #361

Open Atticus-X opened 1 year ago

Atticus-X commented 1 year ago

FreeBSD system information: uname -a FreeBSD *** 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64

The cmake file produces the following error when building: LearnOpenGL-master/includes/GLFW/glfw3.h:162:14: fatal error: 'GL/gl.h' file not found #include <GL/gl.h>

Here-'s an edited cmake file that compiles and builds onFreeBSD.

Atticus

CMakeLists.txt