go-gl / gl

Go bindings for OpenGL (generated via glow)
MIT License
1.07k stars 74 forks source link

Re issue #97 - go fails to build on FreeBSD #98

Closed wilyarti closed 5 years ago

wilyarti commented 6 years ago

Changes necessary to get go-gl to compile on FreeBSD, re issue #97

wilyarti commented 6 years ago

The pkg-config adds the correct include statements for the opengl libraries. I'm not a C expert or a FreeBSD expert but it won't compile without the pkg-config line.

wilyarti commented 6 years ago

Here is the output of pkg-config:

% pkg-config -cflags gl
-I/usr/local/include -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread
pwaller commented 5 years ago

It sounds to me like this was fixed in #103 ("Use pkg-config"). Please let me know if I'm mistaken and we can reopen.