Hello,
I am new to opengl programming. I am trying to complie opengl program, but I am getting undefined reference to `mouseMotion’ errors even though complied with -lglut on the command line.
gcc -lglut prg.c
Please suggest me how should i compile without errors.
Thanks…