I am trying to add a simple OpenGL+FreeGLUT application to my Yocto image to run it in Quemu. I:
do_compile() {
${CXX} mydemo.cpp ${LDFLAGS} -lGL -lGLU -lglut -o mydemo
}
IMAGE_INSTALL:append = " freeglut mydemo"
When I run bitbake core-image-sato
the compiler can't find the FreeGLUT header:
fatal error: GL/freeglut.h: No such file or directory
What am I missing?
I needed DEPENDS = "freeglut"
in my *.bb file.