Re: Possible omission in cflags from pkg-config freeglut

2021-02-20 Thread Stuart Henderson
On 2021-02-19, Julian Smith wrote: > I'm wondering whether pkg-config might not be outputing correct flags > for freeglut. > > For example this programme: > > #include > int main(void) > { > return 0; > } > > - fails to build with: > cc `pkg-config --cflags --libs free

Possible omission in cflags from pkg-config freeglut

2021-02-19 Thread Julian Smith
I'm wondering whether pkg-config might not be outputing correct flags for freeglut. For example this programme: #include int main(void) { return 0; } - fails to build with: cc `pkg-config --cflags --libs freeglut` foo.c because: In file included from foo.c:1: