4

hello please help me I have tried everything

sudo apt-get -f install 
sudo apt-get autoclean

everything that I could find but i still get these error when I do make command

/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXext
/usr/bin/ld: cannot find -lXi

collect2: error: ld returned 1 exit status
muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

7

You need several development packages to build your program.

Open a terminal and install the following packages (as they are not installed by default):

sudo apt-get install libxmu-dev libxmu-headers freeglut3-dev libxext-dev libxi-dev

Then restart your make process.