Freeglut libs cannot be found during compilation

Hi, I am trying to compile a simple g++ program, but compilation halts on the line

#include <GL/glut.h>

and reports a ''no such file or directory".
I installed both devpkg-freeglut and devpkg-mesa.
Also, I could not find any documentation on glut specifically for clearlinux.
Any suggestions?
Many thanks.

Sorry, the compile-command used is:

g++ -lglut -lGL -o test.out

What is the full output of the compile command? This is what I get:

$ cat
#include <GL/glut.h>

int main(void)
	return 0;
$ g++ -lglut -lGL -o test.out
$ echo $?

In other words, it succeeds without errors.

I believe you have two options.

1- try “swupd search-file glut.h” and install the bundle that creates the file glut in /usr/include/GL.

2- You probably already have the file in your system. Try “find / -name glut.h” and change the source of your code to point to that file OR create a symbolic link in /usr/include/GL to that file.

Thank you!
It appeared to be the glu.h file that was missing, needed by glut.h.
The search-file pointed me to devpkg-glu:

$ swupd bundle-add devpkg-glu

and this fixed the issue.