how to add textmap on glutSolidCube

who can help me how to add textmap on glutSolidCube

The geometric primitives from glut do not generate texture coordinates (except for the teapot). It’s best you write your own cube rendering code with appropriate texture coordinates

Can i get source of these geometric primitives from glut ?

Download the source code here. Extract it and look for glut_shapes.c in the “/lib/glut” directory.

Thank For share. God bless u.