Cant get lglut to work

Hi, I hope this is the right place to post this. I’m a complete newbie at C++ coding and linux but I need some help. For a comp phys assignment I have to run a program and the instructions say to

$ make program_openGL

however when I do this is get an error
/usr/bin/ld cannot find -lXmu
/usr/bin/ld cannot find -lXi
collect2: ld returned 1 exit status

I tried installing and removing different packages in synaptic but I cant get the program to run. I would appreciate any help. Thank You

sudo apt-get install libxmu-dev libxi-dev
should get you ready.

It is surprising these are not installed when installing glut itself.
With :
sudo apt-get install freeglut3-dev
everything to develop with glut should be here, maybe an Ubuntu bug.

Thanks so much that worked perfectly.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.